|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universe.common.database.DBItem | +--universe.server.database.PlayerBase
Field Summary | |
private CivID |
civID
|
private static PlayerID |
currentID
|
private PlayerID |
ID
|
private java.lang.String |
name
|
boolean |
turnSubmitted
Has this player submitted its turn. |
Constructor Summary | |
protected |
PlayerBase()
|
Method Summary | |
PlayerID |
getID()
This loads a script into the script object |
Index |
getIndex()
|
java.lang.String |
getName()
This method returns the civilization which the player is directing. |
CivID |
getOwner()
This method returns the civilization which is being directed by the player. |
(package private) void |
setName(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static PlayerID currentID
private PlayerID ID
private java.lang.String name
private CivID civID
public boolean turnSubmitted
Constructor Detail |
protected PlayerBase()
Method Detail |
public PlayerID getID()
public Index getIndex()
getIndex
in class DBItem
in the subclasses for a typed version.
public CivID getOwner()
public java.lang.String getName()
getName
in class DBItem
void setName(java.lang.String name)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |