# MontyHallGame.MontyHallGameState Class Reference

The global state of the monty hall game manipulated by the player. More...

List of all members.

## Public Attributes
double | playTime
| The accumulated time the player is in the active gameplay state.
## Properties
PhysicalRandomNumberGenerator | Rng`[get]`
| Gets the current random number generator instance.
int | Losses`[get, set]`
| Gets or sets the total number of losses.
int | Wins`[get, set]`
| Gets or sets the total number of wins.
int | Switches`[get, set]`
| Gets or sets the total number of door switches.

## Detailed Description

The global state of the monty hall game manipulated by the player.

Definition at line 18 of file MontyHallGameState.cs.

## Member Data Documentation

double MontyHallGame.MontyHallGameState.playTime

The accumulated time the player is in the active gameplay state.

Definition at line 50 of file MontyHallGameState.cs.

## Property Documentation

int MontyHallGame.MontyHallGameState.Losses`[get, set]`

Gets or sets the total number of losses.

Definition at line 68 of file MontyHallGameState.cs.

PhysicalRandomNumberGenerator MontyHallGame.MontyHallGameState.Rng`[get]`

Gets the current random number generator instance.

Definition at line 60 of file MontyHallGameState.cs.

int MontyHallGame.MontyHallGameState.Switches`[get, set]`

Gets or sets the total number of door switches.

Definition at line 86 of file MontyHallGameState.cs.

int MontyHallGame.MontyHallGameState.Wins`[get, set]`

Gets or sets the total number of wins.

Definition at line 77 of file MontyHallGameState.cs.

The documentation for this class was generated from the following file:

- C:/Users/Andreas Schiffler/Desktop/SVN/NewGamePhysics/MontyHallGame/MontyHallGameState.cs