TetrominoManagerCompareShapeToImage Method

Checks is the given image is a valid configuration of the given shape.

Definition

Namespace: ProjectLCore.GameManagers
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public static bool CompareShapeToImage(
	TetrominoShape shape,
	BinaryImage image
)

Parameters

shape  TetrominoShape
The shape.
image  BinaryImage
The image.

Return Value

Boolean
if the given configuration is valid; otherwise .

See Also