|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectenergyTycoon.powerStation.EnergyProviderBuilding
public abstract class EnergyProviderBuilding
Constructor Summary | |
---|---|
EnergyProviderBuilding(ClientGame client,
int stationId,
FullPlayer player,
PowerStationType powerStationType)
EnergyProviderBuilding constructor |
|
EnergyProviderBuilding(ServerGame server,
int stationId,
FullPlayer player,
PowerStationType powerStationType)
EnergyProviderBuilding constructor |
Method Summary | |
---|---|
void |
askRestore()
|
void |
askUpdate(int level)
|
void |
deleteStation(java.lang.String message)
|
int |
getConstructionDate()
Get the construction date |
int |
getGeneration()
get power station generation |
int |
getId()
get the building id |
int |
getLastRenovationDate()
Last upgrade date |
int |
getLifeTime()
get the life time of the building |
abstract int |
getMaintenancePrice()
get maintenance price for the month |
void |
restore()
|
void |
setClient(ClientGame client)
set the client |
void |
setServer(ServerGame server)
set the server |
void |
update(int generation)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnergyProviderBuilding(ServerGame server, int stationId, FullPlayer player, PowerStationType powerStationType)
server
- player
- powerStationType
- public EnergyProviderBuilding(ClientGame client, int stationId, FullPlayer player, PowerStationType powerStationType)
client
- player
- powerStationType
- Method Detail |
---|
public void setServer(ServerGame server)
server
- public void setClient(ClientGame client)
client
- public int getConstructionDate()
public int getLastRenovationDate()
public void update(int generation)
generation
- public void askUpdate(int level)
public void askRestore()
public void restore()
public void deleteStation(java.lang.String message)
public int getId()
public int getLifeTime()
public int getGeneration()
public abstract int getMaintenancePrice()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |