GameActionProcessorProcessAction Method

Overload List

ProcessAction(DoNothingAction) Does nothing.
ProcessAction(EndFinishingTouchesAction) Signals PlayerEndedFinishingTouches.
ProcessAction(GameAction) Processes the given GameAction.
ProcessAction(ChangeTetrominoAction) Removes the old tetromino from the appropriate PlayerState and returns it to the GameState. Then removes the new tetromino from the GameState and adds it to the PlayerState.
ProcessAction(MasterAction) Places all the tetrominos specified by TetrominoPlacements. Each of these placements is treaded like a PlaceTetrominoAction. Also signals PlayerUsedMasterAction
ProcessAction(PlaceTetrominoAction) 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.
ProcessAction(RecycleAction) Removes the puzzles from the GameState puzzle rows and puts them to the bottom of the deck. Then refills the puzzle rows.
ProcessAction(TakeBasicTetrominoAction) Removes a O1 tetromino from the GameState and adds it to the appropirate PlayerState.
ProcessAction(TakePuzzleAction) 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.

See Also