HumanPlayerGetRewardEventArgs Constructor

Initializes a new instance of the HumanPlayerGetRewardEventArgs class with the specified reward options and puzzle.

Definition

Namespace: ProjectLCore.Players
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public GetRewardEventArgs(
	List<TetrominoShape> rewardOptions,
	Puzzle puzzle,
	CancellationToken cancellationToken
)

Parameters

rewardOptions  ListTetrominoShape
The list of reward options available to the player.
puzzle  Puzzle
The puzzle that was completed by the player.
cancellationToken  CancellationToken
Cancellation token to observe while waiting for the task to complete.

See Also