InvalidTetrominoChangeFail Class

The player tried to change an old tetromino for a new one, but this trade is not possible. This includes the scenario when the new tetromino is the same as the old one. This failure can be produced by the ChangeTetrominoAction.

Definition

Namespace: ProjectLCore.GameActions.Verification
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public class InvalidTetrominoChangeFail : VerificationFailure
Inheritance
Object    VerificationResult    VerificationFailure    InvalidTetrominoChangeFail

Constructors

InvalidTetrominoChangeFail Initializes a new instance of the InvalidTetrominoChangeFail class.

Properties

Message A description of the failure. Specifies the shapes of the tetrominos the player wants to change.
(Overrides VerificationFailureMessage)
NewTetromino The shape of the tetromino the player wants to take from the shared reserve.
OldTetromino The shape of the tetromino the player wants to return to the shared reserve.

See Also