energyTycoon.powerStation
Class NuclearStation

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

public class NuclearStation
extends PowerStation


Constructor Summary
NuclearStation(ClientGame client, int stationId, FullPlayer player, PowerStationType powerStationType)
          Constructor
NuclearStation(ServerGame game, int stationId, FullPlayer player, PowerStationType powerStationType)
          Constructor
 
Method Summary
 void computeMaintenancePrice()
           
 void computePollution()
           
 void computeProduction()
           
 void setProduction()
           
 void testDead()
           
 
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
 

Constructor Detail

NuclearStation

public NuclearStation(ServerGame game,
                      int stationId,
                      FullPlayer player,
                      PowerStationType powerStationType)
Constructor

Parameters:
game - // il n'y a pas forc�ment un seul jeu
player - // le joueur du jeu
powerStationType - //type de power station

NuclearStation

public NuclearStation(ClientGame client,
                      int stationId,
                      FullPlayer player,
                      PowerStationType powerStationType)
Constructor

Parameters:
client -
player - // le joueur du jeu
powerStationType - //type de power station
Method Detail

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