|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--universe.server.database.CivOptions
Field Summary | |
private RaceBase |
myFoundingSpecies
|
private PlayerType |
myPlayerType
|
Constructor Summary | |
CivOptions()
This is the designated constructor for objects of this class. |
Method Summary | |
RaceBase |
getFoundingSpecies()
This method returns the founding species stored in the receiving instance. |
PlayerType |
getPlayerType()
This method returns the player type stored in the receiving instance. |
void |
readFromConfig(int index)
This method causes the civilization options object to adopt attribute values previously stored in the persistent configuraiton object. |
void |
saveToConfig(int index)
This method causes the civilization options object to persistently save its current values to the game configuration file so that they will be used the next time the game is run. |
void |
setFoundingSpecies(RaceBase newValue)
This method sets the founding species to be stored in the receiving instance. |
void |
setPlayerType(PlayerType newValue)
This method sets the player type to be stored in the receiving instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private RaceBase myFoundingSpecies
private PlayerType myPlayerType
Constructor Detail |
public CivOptions()
Method Detail |
public RaceBase getFoundingSpecies()
public void setFoundingSpecies(RaceBase newValue)
newValue
- The new founding species value.getFoundingSpecies()
public PlayerType getPlayerType()
public void setPlayerType(PlayerType newValue)
newValue
- The new player type value.getPlayerType()
public void readFromConfig(int index)
index
- Unique number used to distinguish each civilization object's values from its fellows.public void saveToConfig(int index)
index
- Unique number used to distinguish each civilization object's values from its fellows.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |