public void forceBuildBuilding(IBuilding newBuilding) { // Give the building to the resource manager logic // We've already spent for the building in the "startBuildBuilding" func aiCurrentGameState.forceAddBuilding(newBuilding); // Display the new resource stockpiles/ income per turn displayBuildingResouceDelta(newBuilding); doNextWorkAi(); }
public void forceBuildBuilding(IBuilding newBuilding) { // Reccord the position of the building occupyBuildingSpace(newBuilding); // Give the building to the resource manager logic // We've already spent for the building in the "startBuildBuilding" func gameState.forceAddBuilding(newBuilding); // Display the new resource stockpiles/ income per turn displayBuildingResouceDelta(newBuilding); // Draw the building this.mapController.addBuilding(newBuilding); }