Package megamek.server.sbf
Class AbstractSBFActionHandler
java.lang.Object
megamek.server.sbf.AbstractSBFActionHandler
- All Implemented Interfaces:
SBFActionHandler,SBFGameManagerHelper
- Direct Known Subclasses:
SBFStandardUnitAttackHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIf it returns true, it must be removed from the list of active handlers (handling this action is finished entirely).voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface megamek.server.sbf.SBFActionHandler
cares, handleMethods inherited from interface megamek.server.sbf.SBFGameManagerHelper
addReport, game, packetHelper, send, send
-
Constructor Details
-
AbstractSBFActionHandler
-
-
Method Details
-
isFinished
public boolean isFinished()Description copied from interface:SBFActionHandlerIf 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:
isFinishedin interfaceSBFActionHandler- Returns:
- False when this handler must remain active after doing its present handling, true otherwise
-
setFinished
public void setFinished()- Specified by:
setFinishedin interfaceSBFActionHandler
-
getAction
- Specified by:
getActionin interfaceSBFActionHandler- Returns:
- The EntityAction that this handler is executing.
-
gameManager
- Specified by:
gameManagerin interfaceSBFGameManagerHelper
-