HumanPlayerSetAction Method

Sets the next action the player wants to take. 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 SetAction(
	GameAction action
)

Parameters

action  GameAction
The action.

Exceptions

InvalidOperationExceptionThe action has already been set.

See Also