energyTycoon.powerStation
Class Weir
java.lang.Object
energyTycoon.powerStation.EnergyProviderBuilding
energyTycoon.powerStation.PowerStation
energyTycoon.powerStation.Weir
public class Weir
- extends PowerStation
Methods inherited from class energyTycoon.powerStation.PowerStation |
askChangeUseRate, compute, computeRenovationPrice, getBuildingRate, getLife, getMaintenancePrice, getName, getPollution, getPowerStationType, getProduction, getRenovationPrice, getUseRate, isBuilt, isJustBuilt, networkCreateDefinition, setId, setName, setPollution, setProduction, setUsePrice, setUseRate |
Methods inherited from class energyTycoon.powerStation.EnergyProviderBuilding |
askRestore, askUpdate, deleteStation, getConstructionDate, getGeneration, getId, getLastRenovationDate, getLifeTime, restore, setClient, setServer, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Weir
public Weir(ServerGame server,
int stationId,
FullPlayer player,
PowerStationType powerStationType)
Weir
public Weir(ClientGame client,
int stationId,
FullPlayer player,
PowerStationType powerStationType)
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