energyTycoon.powerStation
Class CoalCentral

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

public class CoalCentral
extends PowerStation


Constructor Summary
CoalCentral(ClientGame client, int stationId, FullPlayer player, PowerStationType powerStationType)
           
CoalCentral(ServerGame server, int stationId, FullPlayer player, PowerStationType powerStationType)
           
 
Method Summary
 void computeMaintenancePrice()
           
 void computePollution()
           
 void computeProduction()
           
 void setFullProduction()
           
 void testDead()
          Calcul du prix de la main d'oeuvre (par heure)
 
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

CoalCentral

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

CoalCentral

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

computePollution

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

computeProduction

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

computeMaintenancePrice

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

testDead

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

Specified by:
testDead in class PowerStation

setFullProduction

public void setFullProduction()