civquest.nation.gameChange
Class ActivateNation

java.lang.Object
  extended bycivquest.gameChange.AbstractNationChange
      extended bycivquest.nation.gameChange.ActivateNation
All Implemented Interfaces:
GameChange, NationChange

public class ActivateNation
extends AbstractNationChange

Activates a new Nation. The old one gets deactivated. The NationIDs-array has the following structure: {NationChange.ACTIVATE_NATION, newNation}. Note for Listeners: The old active Nation may be the same as the newly activated Nation.


Field Summary
 
Fields inherited from class civquest.gameChange.AbstractNationChange
name, nationIDs
 
Fields inherited from interface civquest.gameChange.NationChange
ACTIVATE_NATION, ADD_NATION
 
Constructor Summary
ActivateNation(int newNationID)
           
 
Method Summary
 void execute()
           
 
Methods inherited from class civquest.gameChange.AbstractNationChange
getNationIDs, notifyListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivateNation

public ActivateNation(int newNationID)
Method Detail

execute

public void execute()