PuzzleDeckIsEmptyFail Class

The player specified TopBlack or TopWhite but the corresponding deck is empty. This failure can be produced by the TakePuzzleAction.

Definition

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

Constructors

PuzzleDeckIsEmptyFail Initializes a new instance of the PuzzleDeckIsEmptyFail class.

Properties

Color The color of the deck. Either TopBlack or TopWhite.
Message A description of the failure. Specifies the color of the deck which is empty.
(Overrides VerificationFailureMessage)

See Also