energyTycoon.powerStation
Class SolarPanel

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

public class SolarPanel
extends PowerStation


Constructor Summary
SolarPanel(ClientGame client, int stationId, FullPlayer player, PowerStationType powerStationType)
           
SolarPanel(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, 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
 

Constructor Detail

SolarPanel

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

SolarPanel

public SolarPanel(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