public Palace(BuildingSpot buildingSpot) : base(buildingSpot, 3, 3) { BuildingParams = new TileParams(production: 1, money: 1); Level = 1; Name = "Palace"; }
public void ChangeBuildingParams(int food = 0, int production = 0, int money = 0) { BuildingParams += new TileParams(food, production, money); }
public void ChangeBuildingParams(TileParams newBuildingParams) { BuildingParams += newBuildingParams; }
public bool Equals(TileParams other) { return Food == other.Food && Production == other.Production && Money == other.Money; }
protected TileItem(string name, int food, int production, int money) { Name = name; TileParams = new TileParams(food, production, money); }
protected TileItem(string name, TileParams tileParams) { Name = name; TileParams = tileParams; }