public Figure(int location, int serialNumber, ChipsType type) { Type = type; Location = location; SerialNumber = serialNumber; IsFree = true; InTheHouseOfBeauty = false; InTheHouseOfWater = false; }
public Player(ChipsType chipsType, Cell[] map, bool isAI = false) { IsAI = isAI; OwnType = chipsType; OwnFigures = new List <Figure>(); for (var i = 1; i <= 14; i++) { if (map[i].State.Type == OwnType) { OwnFigures.Add(map[i].State); } } }
public Player(ChipsType chipsType, Cell[] map) { OwnType = chipsType; IsMan = false; OwnFigures = new List <Figure>();//из Game for (var i = 1; i <= 14; i++) { if (map[i].State.Type == OwnType) { OwnFigures.Add(map[i].State); } } }