package com.lucasdnd.ags.gameplay.market; import org.newdawn.slick.SpriteSheet; /** * This is the representation of a furniture on the market (types, sizes, prices, etc). * It's the model to create the Furniture objects. * @author tulio * */ public class MarketShelf extends MarketAsset { int capacity; // How many games can this piece of furniture hold public MarketShelf(int id, SpriteSheet spriteSheet, String name, int price, long releaseDate, int xSize, int ySize, int[] usableXTiles, int[] usableYTiles, int capacity, int maxOrganizationLevel) { // Super Constructor for basic attributes super(id, spriteSheet, name, price, releaseDate, xSize, ySize, usableXTiles, usableYTiles, maxOrganizationLevel); // Specific attributes for Funriture only this.capacity = capacity; } public int getCapacity() { return capacity; } public void setCapacity(int capacity) { this.capacity = capacity; } }