ChangeTetrominoAction Constructor

Initializes a new instance of the ChangeTetrominoAction class.

Definition

Namespace: ProjectLCore.GameActions
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public ChangeTetrominoAction(
	TetrominoShape oldTetromino,
	TetrominoShape newTetromino
)

Parameters

oldTetromino  TetrominoShape
The tetromino the player is returning to the shared reserve.
newTetromino  TetrominoShape
The tetromino the player is taking from the shared reserve.

See Also