net.sf.colossus.game.actions
Class LegionAction

java.lang.Object
  extended by net.sf.colossus.game.actions.LegionAction
All Implemented Interfaces:
GameAction
Direct Known Subclasses:
AddCreatureAction, RelocateLegion

public abstract class LegionAction
extends java.lang.Object
implements GameAction

A base class for all actions affecting a single legion in the game. This exists only for implementation purposes and is not intended to be instantiated directly.


Field Summary
protected  Legion legion
           
 
Constructor Summary
LegionAction(Legion legion)
           
 
Method Summary
 Legion getLegion()
          The legion that was changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

legion

protected final Legion legion
Constructor Detail

LegionAction

public LegionAction(Legion legion)
Method Detail

getLegion

public Legion getLegion()
The legion that was changed.