FinishedPuzzleInfo Constructor

Initializes a new instance of the FinishedPuzzleInfo struct with the specified parameters.

Definition

Namespace: ProjectLCore.GamePieces
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public FinishedPuzzleInfo(
	uint playerId,
	Puzzle puzzle,
	List<TetrominoShape>? rewardOptions,
	TetrominoShape? selectedReward
)

Parameters

playerId  UInt32
The ID of the Player who completed the puzzle.
puzzle  Puzzle
The puzzle the player completed.
rewardOptions  ListTetrominoShape
A list of possible rewards the player got to choose from. Or if the puzzle was completed during FinishingTouches.
selectedReward  NullableTetrominoShape
The reward the player selected. Or if rewardOptions is empty.

See Also