|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--game.events.AbstractEvent
|
+--game.events.AbstractSquareEvent
|
+--game.events.ControlLocationEvent
Class to represent visiting a square by the first civilization to do so.
| Constructor Summary | |
ControlLocationEvent()
|
|
| Method Summary | |
static XML |
getXML()
|
protected boolean |
success(Square square)
Method to check whether his square succeeds, must be overridden by extending classes. |
java.lang.String |
toString()
Implementation of the Object method. |
| Methods inherited from class game.events.AbstractSquareEvent |
addLocation, addLocation, addRange, hasOccurred |
| 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 ControlLocationEvent()
| Method Detail |
protected boolean success(Square square)
success in class AbstractSquareEventsquare - the square to check.public java.lang.String toString()
toString in class AbstractSquareEventpublic static XML getXML()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||