BinaryImage(Int32) Constructor

Initializes a new instance of the BinaryImage struct using an encoding of the image into an integer. The encoding should be as specified in the BinaryImage class documentation.

Definition

Namespace: ProjectLCore.GamePieces
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public BinaryImage(
	int image
)

Parameters

image  Int32
The encoding of the image.

Exceptions

ArgumentExceptionBinary image must be 5x5

See Also