GameAction Class

Represents an action that a player can take during their turn. Together with IActionProcessor and IAsyncActionProcessor it implements the visitor pattern. The validity of every action should be checked by an ActionVerifier before being processed.

Definition

Constructors

GameActionInitializes a new instance of the GameAction class

Methods

Accept Accepts the specified visitor by calling the appropriate method.
AcceptAsync Asynchronously accepts the specified visitor by calling the appropriate method.

See Also