Class 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

      Fields 
      Modifier and Type Field Description
      protected Legion legion  
    • Constructor Summary

      Constructors 
      Constructor Description
      LegionAction​(Legion legion)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.