energyTycoon.powerStation
Class Weir

java.lang.Object
  extended by energyTycoon.powerStation.EnergyProviderBuilding
      extended by energyTycoon.powerStation.PowerStation
          extended by energyTycoon.powerStation.Weir

public class Weir
extends PowerStation


Constructor Summary
Weir(ClientGame client, int stationId, FullPlayer player, PowerStationType powerStationType)
           
Weir(ServerGame server, int stationId, FullPlayer player, PowerStationType powerStationType)
           
 
Method Summary
 void computeMaintenancePrice()
           
 void computePollution()
           
 void computeProduction()
           
 void testDead()
          Calcul du prix de la main d'oeuvre (par heure)
 
Methods inherited from class energyTycoon.powerStation.PowerStation
askChangeUseRate, compute, computeName, computeRenovationPrice, getBuildingRate, getMaintenancePrice, getName, getPollution, getProduction, getUseRate, isBinaryUseRate, isBuilt, isJustBuilt, networkCreateDefinition, setId, setName, setPollution, setProduction, setUsePrice, setUseRate, update
 
Methods inherited from class energyTycoon.powerStation.EnergyProviderBuilding
askRestore, askUpdate, computeMonthlyUsePrice, explode, getConstructionDate, getGeneration, getId, getLastRenovationDate, getLife, getLifeTime, getMonthlyUsePrice, getPowerStationType, getRenovationPrice, restore, setClient, setPowerStationType, setServer
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Weir

public Weir(ServerGame server,
            int stationId,
            FullPlayer player,
            PowerStationType powerStationType)

Weir

public Weir(ClientGame client,
            int stationId,
            FullPlayer player,
            PowerStationType powerStationType)
Method Detail

computeProduction

public void computeProduction()
Specified by:
computeProduction in class PowerStation

computeMaintenancePrice

public void computeMaintenancePrice()
Specified by:
computeMaintenancePrice in class PowerStation

computePollution

public void computePollution()
Specified by:
computePollution in class PowerStation

testDead

public void testDead()
Calcul du prix de la main d'oeuvre (par heure)

Specified by:
testDead in class PowerStation