Package megamek.server.sbf
Class SBFStandardUnitAttackHandler
java.lang.Object
megamek.server.sbf.AbstractSBFActionHandler
megamek.server.sbf.SBFStandardUnitAttackHandler
- All Implemented Interfaces:
- SBFActionHandler,- SBFGameManagerHelper
- 
Constructor SummaryConstructorsConstructorDescriptionSBFStandardUnitAttackHandler(SBFStandardUnitAttack action, SBFGameManager gameManager) 
- 
Method SummaryMethods inherited from class megamek.server.sbf.AbstractSBFActionHandlergameManager, getAction, isFinished, setFinishedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface megamek.server.sbf.SBFGameManagerHelperaddReport, game, packetHelper, send, send
- 
Constructor Details- 
SBFStandardUnitAttackHandler
 
- 
- 
Method Details- 
carespublic boolean cares()- Returns:
- True when this handler should be called at the present state of the SBFGame (e.g. the phase). In that
       case, SBFActionHandler.handle()should be called.
 
- 
handlepublic void handle()Description copied from interface:SBFActionHandlerHandles the action, e.g. attack with everything that's necessary, such as adding a report and sending changes to the Clients. When the handler has finished handling the action and is no longer needed, it must callSBFActionHandler.setFinished()to mark itself as a candidate for removal.
 
-