energyTycoon.powerStation
Class WindMachine

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

public class WindMachine
extends PowerStation


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

WindMachine

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

WindMachine

public WindMachine(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()
Specified by:
testDead in class PowerStation