|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--game.events.AbstractEvent
|
+--game.events.CivilizationSizeEvent
Event fired when the specified civilization reaches a certain size (or greater).
| Constructor Summary | |
CivilizationSizeEvent()
Constructor. |
|
| Method Summary | |
static XML |
getXML()
|
boolean |
hasOccurred()
Check to see if the event has happened. |
void |
setSize(int value)
Setter for size required. |
java.lang.String |
toString()
Implementation of the Object method. |
| Methods inherited from class game.events.AbstractEvent |
activate, addActivateEvent, addBulletin, addDisplay, addEnableTechnology, addEventAction, addGiveResearch, addRemoveEvent, addRemoveFeature, addSaveCondition, addSaveCondition, addUnits, autocenter, cancel, getAfterTurn, getCivilization, getCivilizationName, getName, getNegative, isCancelled, isCurrent, performActions, setAfter, setCancelCondition, setCancelTurn, setCenterView, setCenterView, setCivilization, setInactive, setName, setNegative |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CivilizationSizeEvent()
| Method Detail |
public void setSize(int value)
value - the target size.public boolean hasOccurred()
public java.lang.String toString()
toString in class java.lang.Objectpublic static XML getXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||