HumanPlayerGetRewardAsync Method
Namespace: ProjectLCore.PlayersAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
public override Task<TetrominoShape> GetRewardAsync(
List<TetrominoShape> rewardOptions,
Puzzle puzzle,
CancellationToken cancellationToken = default
)
- rewardOptions ListTetrominoShape
- The reward options.
- puzzle Puzzle
- The puzzle that was completed.
- cancellationToken CancellationToken (Optional)
- A cancellation token to observe while waiting for the task to complete.
TaskTetrominoShape
The shape the player wants to take.