public void InitTablecloth() { for (int i = 0; i <= 40; i++) { Tablecloth tablecloth = new Tablecloth(EnumRoom.TableclothType.Square, EnumRoom.MaterialState.OK); tableclothList.Add(tablecloth); } }
public Table(int chairAmount, int tableNumber, string state, bool isReserved, List <Bread> breadList = null, List <Jug> jugList = null, List <Plate> plateList = null, Tablecloth tablecloth = null, List <Napkin> napkinList = null, List <Glass> glassList = null, List <Card> cardList = null) { this.chairAmount = chairAmount; this.tableNumber = tableNumber; this.state = state; this.isReserved = isReserved; this.breadList = breadList; this.jugList = jugList; this.plateList = plateList; this.tablecloth = tablecloth; this.napkinList = napkinList; this.glassList = glassList; this.cardList = cardList; }