energyTycoon.powerStation
Class NuclearStation
java.lang.Object
energyTycoon.powerStation.EnergyProviderBuilding
energyTycoon.powerStation.PowerStation
energyTycoon.powerStation.NuclearStation
public class NuclearStation
- extends PowerStation
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 |
NuclearStation
public NuclearStation(ServerGame game,
int stationId,
FullPlayer player,
PowerStationType powerStationType)
- Constructor
- Parameters:
game
- // il n'y a pas forc�ment un seul jeuplayer
- // le joueur du jeupowerStationType
- //type de power station
NuclearStation
public NuclearStation(ClientGame client,
int stationId,
FullPlayer player,
PowerStationType powerStationType)
- Constructor
- Parameters:
client
- player
- // le joueur du jeupowerStationType
- //type de power station
computeMaintenancePrice
public void computeMaintenancePrice()
- Specified by:
computeMaintenancePrice
in class PowerStation
computePollution
public void computePollution()
- Specified by:
computePollution
in class PowerStation
computeProduction
public void computeProduction()
- Specified by:
computeProduction
in class PowerStation
setProduction
public void setProduction()
testDead
public void testDead()
- Specified by:
testDead
in class PowerStation