TetrominoShape Enumeration

Represents a specific tetromino shape.

Definition

Namespace: ProjectLCore.GamePieces
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public enum TetrominoShape

Members

O10 The 1x1 square tetromino.
O21 The 2x2 square tetromino.
I22 The 1x2 line tetromino.
I33 The 1x3 line tetromino.
I44 The 1x4 line tetromino.
L25 The L shaped tetromino of length 2. Looks like I2 with O1 attached to the right.
L36 The L shaped tetromino of length 3. Looks like I3 with O1 attached to the right.
Z7 The Z shaped tetromino. Looks like two I2 tetrominos attached to each other, the bottom one shifted by one cell to the right.
T8 The T shaped tetromino. Looks like I3 with O1 attached to the middle cell.

See Also