PuzzleNode Constructor

Initializes a new instance of the PuzzleNode class.

Definition

Namespace: SimpleAIPlayer
Assembly: SimpleAIPlayer (in SimpleAIPlayer.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public PuzzleNode(
	BinaryImage puzzle,
	uint puzzleId,
	IReadOnlyList<int> numTetrominosLeft,
	IReadOnlyList<int> numTetrominosOwned,
	bool finishingTouches
)

Parameters

puzzle  BinaryImage
The puzzle being solved.
puzzleId  UInt32
The ID of the puzzle being solved.
numTetrominosLeft  IReadOnlyListInt32
The number of tetrominos left in the shared reserve for each TetrominoShape.
numTetrominosOwned  IReadOnlyListInt32
The number of tetrominos owned by the player for each TetrominoShape.
finishingTouches  Boolean
if CurrentGamePhase is FinishingTouches else .

See Also