GameActionProcessorProcessAction(TakePuzzleAction) Method

Removes the puzzle from the GameState and adds it the appropriate PlayerState. Signals PlayerTookBlackPuzzle if the player took a black puzzle, and BlackDeckIsEmpty if the black deck is empty.

Definition

Namespace: ProjectLCore.GameActions
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
protected override void ProcessAction(
	TakePuzzleAction action
)

Parameters

action  TakePuzzleAction
The action to be processed.

Exceptions

InvalidOperationExceptionThe specified puzzle was not found.

See Also