MasterActionNotEnoughTetrominosFail Class

The player doesn't have enough tetrominos needed by a MasterAction.

Definition

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

Example

The player tried to make the following placements:
Puzzle ID Used tetromino
13L3
9O2
27L3
But the player has only one L3 tetromino, while two are needed.

Constructors

MasterActionNotEnoughTetrominosFail Initializes a new instance of the MasterActionNotEnoughTetrominosFail class.

Properties

Message A description of the failure. Specifies the type of the tetromino, the number of tetrominos the player owns and the number of tetrominos needed by the MasterAction.
(Overrides VerificationFailureMessage)
Owned The number of tetromino of type Shape the player owns.
Shape The tetromino type the player doesn't have enough tetrominos of.
Used The number of tetrominos of type Shape needed to perform the master action.

See Also