|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--game.events.AbstractEvent
|
+--game.events.ConditionEvent
Event fired if the condition is met in the specified civilization.
| Constructor Summary | |
ConditionEvent()
|
|
| Method Summary | |
static XML |
getXML()
|
boolean |
hasOccurred()
Check to see if the event has happened. |
void |
setCondition(java.lang.String value)
The condition 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 ConditionEvent()
| Method Detail |
public void setCondition(java.lang.String value)
public boolean hasOccurred()
Event
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 | |||||||||