Data transfer object to pass settings from the menu system into the chosen track scene. More...
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. |
Data transfer object to pass settings from the menu system into the chosen track scene.
Different game modes.
Choices for the mount.
Choices for the rider.
Track choice.
void GameSettings.RealizeRandomSelections | ( | ) |
Picks a random choice for each place where Random was chosen by the user.
GameMode GameSettings.gameMode = GameMode.Multiplay |
Current game mode.
GameSettings GameSettings.GlobalGameSettings = new GameSettings() [static] |
Global settings for this game.
int GameSettings.lapCount = 3 |
Number of laps in the race.
int GameSettings.npcCount = 8 |
Number of non-player characters.
new PlayerSettings[] { new PlayerSettings() , new PlayerSettings() }
Array of player settings for each registered player.
bool GameSettings.screenSplitVertically = false |
Current screen split option.
TrackChoice GameSettings.track = TrackChoice.Hamlington |
Current track choice.
int GameSettings.playerCount [get, set] |
Number of player characters.