@Override
    public void computeData() {
        for (Building b : _player.getBuildings()) {
            switch (b.getType()) {
                case "water_turbine":
                    _buildings[WATER] += computeProduction(BuildingInfo.WATER);
                    break;
                case "wind_turbine":
                    _buildings[WIND] += computeProduction(BuildingInfo.WIND);
                    break;
                case "solar_plant":
                    _buildings[SOLAR] += computeProduction(BuildingInfo.SUN);
                    break;
                case "nuclear":
                    _buildings[NUCLEAR] += computeProduction(BuildingInfo.NUCLEAR);
                    break;
                case "coal_fired_plant":
                    _buildings[COAL] += computeProduction(BuildingInfo.COAL);
                    break;
            }
        }
    }