GameSettings Class Reference

Data transfer object to pass settings from the menu system into the chosen track scene. More...

List of all members.

Classes

class  PlayerSettings
 Setting for a player. More...

Public Types

enum  RiderChoice { Random = -1, Aristocrat = 0, Policeman, Count }
 

Choices for the rider.

More...
enum  MountChoice { Random = -1, Cow = 0, Pig, Count }
 

Choices for the mount.

More...
enum  TrackChoice { Hamlington = 0, Count, Random = 8 }
 

Track choice.

More...
enum  GameMode { Single, Multiplay, Tandem }
 

Different game modes.

More...

Public Member Functions

void RealizeRandomSelections ()
 Picks a random choice for each place where Random was chosen by the user.

Public Attributes

PlayerSettings[] players
 Array of player settings for each registered player.
TrackChoice track = TrackChoice.Hamlington
 Current track choice.
GameMode gameMode = GameMode.Multiplay
 Current game mode.
bool screenSplitVertically = false
 Current screen split option.
int npcCount = 8
 Number of non-player characters.
int lapCount = 3
 Number of laps in the race.

Static Public Attributes

static GameSettings GlobalGameSettings = new GameSettings()
 Global settings for this game.

Properties

int playerCount [get, set]
 Number of player characters.

Detailed Description

Data transfer object to pass settings from the menu system into the chosen track scene.


Member Enumeration Documentation

Different game modes.

Choices for the mount.

Choices for the rider.

Track choice.


Member Function Documentation

void GameSettings.RealizeRandomSelections (  ) 

Picks a random choice for each place where Random was chosen by the user.


Member Data Documentation

GameMode GameSettings.gameMode = GameMode.Multiplay

Current game mode.

Global settings for this game.

Number of laps in the race.

Number of non-player characters.

Initial value:
 new PlayerSettings[] {
                        new PlayerSettings() , new PlayerSettings() }

Array of player settings for each registered player.

Current screen split option.

TrackChoice GameSettings.track = TrackChoice.Hamlington

Current track choice.


Property Documentation

int GameSettings.playerCount [get, set]

Number of player characters.


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

Generated on Fri Aug 21 09:09:58 2009 for Hamlington Underground Racing Association by  doxygen 1.6.0