|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--game.events.AbstractEvent
|
+--game.events.AbstractCivilizationEvent
Class to cover civilization specific events.
| Constructor Summary | |
AbstractCivilizationEvent()
Constructor. |
|
| Method Summary | |
Civilization |
getCivilization()
Return the civilization. |
java.lang.String |
getCivilizationName()
Return the civilization name. |
void |
setCivilization(java.lang.String value)
The civilization which has to meet the condition. |
| Methods inherited from class game.events.AbstractEvent |
activate, addActivateEvent, addBulletin, addDisplay, addEnableTechnology, addEventAction, addGiveResearch, addRemoveEvent, addRemoveFeature, addSaveCondition, addSaveCondition, addUnits, autocenter, cancel, getAfterTurn, getName, getNegative, isCancelled, isCurrent, performActions, setAfter, setCancelCondition, setCancelTurn, setCenterView, setCenterView, setInactive, setName, setNegative |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface game.events.Event |
hasOccurred |
| Constructor Detail |
public AbstractCivilizationEvent()
| Method Detail |
public void setCivilization(java.lang.String value)
setCivilization in class AbstractEventvalue - the name of the civilization invovled.public Civilization getCivilization()
getCivilization in interface EventgetCivilization in class AbstractEventpublic java.lang.String getCivilizationName()
getCivilizationName in class AbstractEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||