GameCore Constructor

Initializes a new instance of the GameCore class.

Definition

Namespace: ProjectLCore.GameLogic
Assembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public GameCore(
	GameState gameState,
	ICollection<Player> players,
	bool shufflePlayers
)

Parameters

gameState  GameState
State of the game.
players  ICollectionPlayer
The players.
shufflePlayers  Boolean
If set to then the players are shuffled to randomize turn order.

Exceptions

ArgumentExceptionToo many players. players.Count > MaxPlayers

See Also