|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcivquest.gameChange.AbstractUnitChange
civquest.units.gameChange.ResetUnitTime
This GameChange constructs a new Unit and adds it to MapData. Before executing, the coords, unitIDs, nationIDs-arrays all have length 1 and store the field-coordinate / UnitChange.ADD_UNIT / the id of the nation the new unit belongs to. After having called execute, unitIDs[0] stores the id of the newly constructed unit.
Field Summary |
Fields inherited from class civquest.gameChange.AbstractUnitChange |
name, unitIDs |
Fields inherited from interface civquest.gameChange.UnitChange |
ADD_UNIT, NOT_KNOWN, RESET_UNIT_TIME |
Constructor Summary | |
ResetUnitTime(long unitID)
|
Method Summary | |
void |
execute()
|
Methods inherited from class civquest.gameChange.AbstractUnitChange |
getUnitIDs, notifyListeners |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResetUnitTime(long unitID)
Method Detail |
public void execute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |