|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The class which represents a cvilization.
| Method Summary | |
void |
addCondition(Condition value)
Add a condition. |
void |
economicsTurn()
Perform one turn's worth of economics. |
Civilization |
findEnemy()
Find an enemy civilization. |
java.lang.String |
getAdjective()
Get the adjective for the civilization. |
AI |
getAI()
Return the AI. |
Attitude |
getAttitude(Civilization civ)
Get attitude of another civilization. |
java.awt.Color |
getColor()
Return the civilization's color. |
java.lang.String |
getDefeatMessage()
Gets the defeat message. |
java.lang.String |
getDescription()
Get the description for the civilization. |
float |
getDispersal()
Get dispersal. |
Government |
getGovernment()
Get the government. |
HighCommand |
getHighCommand()
Get the high command. |
java.lang.String |
getName()
Get the name of the civilization. |
float |
getRecruitment()
Get recruitment. |
Technologies |
getTechnologies()
Get the technology interface for this civilization. |
Victory |
getVictory()
Gets the victory conditions. |
java.lang.String |
getVictoryMessage()
Gets the victory message. |
boolean |
hasCondition(Condition value)
Whether the civilization has the condition. |
boolean |
isAlive()
Is this civilization alive? |
boolean |
isEnemy(Civilization otherCiv)
Check to see if this civilization regards another civilization as an enemy. |
void |
selectStartingSquare()
Set the starting square to be the selected square. |
void |
setAttitude(Civilization civ,
Attitude attitude)
Set attitude of another civilization. |
void |
setCity(City city)
Set a city. |
void |
setDispersal(float value)
Set dispersal level. |
void |
setPlayerAI()
Set the AI for the PLayer. |
void |
setPsychotic()
Set the civilization to psychotic. |
void |
setRecruitment(float value)
Set recruitment level. |
| Methods inherited from interface game.libraries.gui.Selectable |
isSelectable, setSelectable |
| Method Detail |
public void setPlayerAI()
public AI getAI()
public java.lang.String getName()
getName in interface Selectablepublic java.lang.String getAdjective()
public java.lang.String getDescription()
public java.awt.Color getColor()
public void setCity(City city)
public void selectStartingSquare()
public java.lang.String getVictoryMessage()
public java.lang.String getDefeatMessage()
public Victory getVictory()
public void setRecruitment(float value)
value - value to set.public float getRecruitment()
public void setDispersal(float value)
value - value to set.public float getDispersal()
public Government getGovernment()
public HighCommand getHighCommand()
public Technologies getTechnologies()
public void setAttitude(Civilization civ,
Attitude attitude)
civ - the other civilization.attitude - the attitude this to the other civilization.public Attitude getAttitude(Civilization civ)
civ - the other civilization.
public boolean isEnemy(Civilization otherCiv)
otherCiv - the other civilization.
public Civilization findEnemy()
public void setPsychotic()
public void addCondition(Condition value)
value - the condition to add.public boolean hasCondition(Condition value)
value - the condition to test.public void economicsTurn()
public boolean isAlive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||