Module AM37
Class AffectMyTurnStrategy
java.lang.Object
it.polimi.ingsw.model.rules.RuleSetBase
it.polimi.ingsw.model.godCardsEffects.affectMyTurnEffects.AffectMyTurnStrategy
- All Implemented Interfaces:
RuleSetStrategy
- Direct Known Subclasses:
BuildBeforeAfterMovement
public class AffectMyTurnStrategy extends RuleSetBase
Effects subclass
Generalizes all the gods effects that affect the owner's turn in terms of actions order
-
Field Summary
Fields inherited from class it.polimi.ingsw.model.rules.RuleSetBase
buildsAvailable, game, hasMovedUp, movedWorker, movesAvailable, movesUpAvailable, startingCell
-
Constructor Summary
Constructors Constructor Description AffectMyTurnStrategy()
-
Method Summary
Methods inherited from class it.polimi.ingsw.model.rules.RuleSetBase
addBuildableCells, addWalkableCells, canBuild, canEndTurn, canEndTurnAutomatically, checkLoseCondition, checkLoseCondition, checkLoseCondition, checkWinCondition, cloneStrategy, doEffect, getBlocks, getBuildableCells, getBuildsAvailable, getMovedWorker, getMovesAvailable, getMovesUpAvailable, getPossibleActions, getWalkableCells, hasMovedUp, initialize, isBuildActionValid, isCorrectBlock, isCorrectDistance, isInsideBuildableCells, isInsideWalkableCells, isMoveActionValid, setGame, setMovesUpAvailable
-
Constructor Details
-
AffectMyTurnStrategy
public AffectMyTurnStrategy()
-