Skip to content

GameStateCollection ​

A collection of game states.

Kind: Class

Namespace: CrowdControl.Common

Inheritance: IEnumerable → IEnumerable\<GameState\> → IReadOnlyCollection\<GameState\> → IReadOnlyList\<GameState\>

Public Constructors

GameStateCollection(GameState state)

Initializes a new instance of the CrowdControl.Common.GameStateCollection class with the specified game state.

GameStateCollection(IEnumerable states)

Initializes a new instance of the CrowdControl.Common.GameStateCollection class with the specified game state.

GameStateCollection(ReadOnlySpan states)

Initializes a new instance of the CrowdControl.Common.GameStateCollection class with the specified game state.

Public Member Functions

IEnumerator

GetEnumerator()

bool

Contains(GameState state)

Properties

GameState

Item

[get, ]

int

Count

[get, ]