Ejemplo n.º 1
0
 public LogBuildingUpdate(int gameIndex, TileCtrl tileCtrl, BuildingCtrl buildingCtrl, BuildingState oldState, BuildingState newState)
 {
     GameIndex        = gameIndex;
     Tile             = tileCtrl;
     Building         = buildingCtrl;
     OldBuildingState = oldState;
     BuildingIndex    = buildingCtrl.Index;
     NewBuildingState = newState;
     if (tileCtrl != null)
     {
         TileIndex = tileCtrl.Index;
     }
 }
Ejemplo n.º 2
0
 internal void RemoveCity(BuildingCtrl settlement)
 {
     this.PlayerGameData.Settlements.Remove(settlement);
     UpdateSettlementCounts();
 }
Ejemplo n.º 3
0
 internal void AddCity(BuildingCtrl settlement)
 {
     this.PlayerGameData.Settlements.Add(settlement);
     UpdateSettlementCounts();
 }