TetrominoManagerCompareShapeToImage Method
Checks is the given image is a valid configuration of the given shape.
Namespace: ProjectLCore.GameManagersAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
public static bool CompareShapeToImage(
TetrominoShape shape,
BinaryImage image
)
- shape TetrominoShape
- The shape.
- image BinaryImage
- The image.
Boolean if the given configuration is valid; otherwise
.