TurnInfo Constructor
Initializes a new instance of the
TurnInfo struct with the specified parameters.
Namespace: ProjectLCore.GameLogicAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
public TurnInfo(
int numActionsLeft,
GamePhase gamePhase,
bool usedMasterAction,
bool tookBlackPuzzle,
bool lastRound
)
Parameters
- numActionsLeft Int32
- The number of actions the current player has left in this turn.
- gamePhase GamePhase
- The current phase of the game.
- usedMasterAction Boolean
- if the current player used the Master action this turn; otherwise .
- tookBlackPuzzle Boolean
- if the current player took a black puzzle this turn; otherwise .
- lastRound Boolean
- if this is the last round of the game; otherwise .