PuzzleParserTCreatePuzzle Method
Creates a object from the parsed data.
Namespace: ProjectLCore.GameLogicAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
protected virtual T CreatePuzzle(
bool isBlack,
uint puzzleNum,
int score,
TetrominoShape tetromino,
BinaryImage image
)
- 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.
TThe puzzle initialized from the given parameters.