HumanPlayerSetReward Method

Sets the reward the player wants to get. This method should be called after the player has made a decision through the UI.

Definition

Namespace: ProjectLCore.Players
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public void SetReward(
	TetrominoShape reward
)

Parameters

reward  TetrominoShape
The reward.

Exceptions

InvalidOperationExceptionThe reward has already been set.

See Also