PuzzleParserTCreatePuzzle Method

Creates a object from the parsed data.

Definition

Namespace: ProjectLCore.GameLogic
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
protected virtual T CreatePuzzle(
	bool isBlack,
	uint puzzleNum,
	int score,
	TetrominoShape tetromino,
	BinaryImage image
)

Parameters

isBlack  Boolean
Specifies the color of the puzzle.
puzzleNum  UInt32
The puzzle number.
score  Int32
The puzzle reward score.
tetromino  TetrominoShape
The puzzle reward tetromino.
image  BinaryImage
The puzzle image encoded with a BinaryImage.

Return Value

T
The puzzle initialized from the given parameters.

See Also