rails.game.correct
Class CorrectionManager
java.lang.Object
rails.game.correct.CorrectionManager
- All Implemented Interfaces:
- CorrectionManagerI
- Direct Known Subclasses:
- CashCorrectionManager, MapCorrectionManager
public abstract class CorrectionManager
- extends java.lang.Object
- implements CorrectionManagerI
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gameManager
protected GameManager gameManager
log
protected static org.apache.log4j.Logger log
CorrectionManager
protected CorrectionManager(GameManager gm,
CorrectionType ct)
getCorrectionType
public CorrectionType getCorrectionType()
- Specified by:
getCorrectionType
in interface CorrectionManagerI
isActive
public boolean isActive()
- Specified by:
isActive
in interface CorrectionManagerI
createCorrections
public java.util.List<CorrectionAction> createCorrections()
- Specified by:
createCorrections
in interface CorrectionManagerI
executeCorrection
public boolean executeCorrection(CorrectionAction action)
- calls all executeAction
- Specified by:
executeCorrection
in interface CorrectionManagerI
execute
protected boolean execute(CorrectionAction action)
equals
public boolean equals(CorrectionManager cm)