TurnManager Class

Takes care of the order in which the players take turns, the current game phase and information about the current turn.

Definition

Namespace: ProjectLCore.GameManagers
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public class TurnManager
Inheritance
Object    TurnManager

Constructors

TurnManager Initializes a new instance of the TurnManager class.

Properties

CurrentPlayerId The ID of the current player.

Methods

GetNextTurn Adjusts the internal turn state to represent the next turn and returns it.
GetSignaler Creates a new signaler for this instance.

Fields

NumActionsInTurn The number of actions a player has each turn.

See Also