TetrominoManager Class

Provides information about the different tetromino shapes and their configurations.

Definition

Namespace: ProjectLCore.GameManagers
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public static class TetrominoManager
Inheritance
Object    TetrominoManager

Properties

NumShapes The number of different tetromino shapes in the game.

Methods

CompareShapeToImage Checks is the given image is a valid configuration of the given shape.
GetAllConfigurationsOf Generates all the possible unique configurations of the given shape.
GetImageOf Gets the standard BinaryImage representation of the given tetromino shape.
GetLevelOf Gets the level of the given tetromino shape.
GetShapesWithLevel Finds all tetromino shapes with the given level.

Fields

MaxLevel The maximum level a tetromino can have.
MinLevel The minimum level a tetromino can have.

See Also