Class AbstractSBFActionHandler

java.lang.Object
megamek.server.sbf.AbstractSBFActionHandler
All Implemented Interfaces:
SBFActionHandler, SBFGameManagerHelper
Direct Known Subclasses:
SBFStandardUnitAttackHandler

public abstract class AbstractSBFActionHandler extends Object implements SBFActionHandler
  • Constructor Details

  • Method Details

    • isFinished

      public boolean isFinished()
      Description copied from interface: SBFActionHandler
      If it returns true, it must be removed from the list of active handlers (handling this action is finished entirely). If it returns false, it must remain.
      Specified by:
      isFinished in interface SBFActionHandler
      Returns:
      False when this handler must remain active after doing its present handling, true otherwise
    • setFinished

      public void setFinished()
      Specified by:
      setFinished in interface SBFActionHandler
    • getAction

      public EntityAction getAction()
      Specified by:
      getAction in interface SBFActionHandler
      Returns:
      The EntityAction that this handler is executing.
    • gameManager

      public SBFGameManager gameManager()
      Specified by:
      gameManager in interface SBFGameManagerHelper