private void ProcessProductionResult(CityView.Building building, ProductionCycleResult result)
    {
        if (result.pollutionPoints > 0)
        {
            worldTemperature.AddPollution(result.pollutionPoints);
        }

        if (Player.LocalPlayer != null)
        {
            Player.LocalPlayer.CmdAddGlobalPollution(Player.LocalPlayer.PlayerID, result.pollutionPoints);
        }
    }
Ejemplo n.º 2
0
 public void OnHousePaused(CityView.Building building, int inhabitants)
 {
     totalPopulation -= inhabitants;
 }