GameActionProcessorProcessAction(PlaceTetrominoAction) Method

Adds the tetromino to the puzzle. If this action completes the puzzle and the CurrentGamePhase is not FinishingTouches, the player gets a reward and the tetrominos he used to complete the puzzle are returned to him. This doesn't happen during FinishingTouches.

Definition

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

Parameters

action  PlaceTetrominoAction
The action to process.

Remarks

If this action completes the puzzle, information about it is added to the FinishedPuzzlesQueue.

Exceptions

InvalidOperationExceptionThe player doesn't have the puzzle specified by the action

See Also