VGDC 2025-2026 Club Game
Loading...
Searching...
No Matches
GameSettings Class Reference

Class that holds the settings of the game. More...

Inheritance diagram for GameSettings:
Collaboration diagram for GameSettings:

Public Member Functions

void SaveData ()
void LoadData ()
void SetFrameRate (int frameRate)
 Sets the target frame rate that the game will run at.
void HideCursor (bool toggle)
void LockCursor (bool toggle)
void ConfineCursor (bool toggle)

Static Public Attributes

static GameSettings Instance

Detailed Description

Class that holds the settings of the game.

Member Function Documentation

◆ ConfineCursor()

void GameSettings.ConfineCursor ( bool toggle)
inline
Here is the caller graph for this function:

◆ HideCursor()

void GameSettings.HideCursor ( bool toggle)
inline
Here is the caller graph for this function:

◆ LoadData()

void GameSettings.LoadData ( )
inline
Here is the call graph for this function:

◆ LockCursor()

void GameSettings.LockCursor ( bool toggle)
inline
Here is the caller graph for this function:

◆ SaveData()

void GameSettings.SaveData ( )
inline

◆ SetFrameRate()

void GameSettings.SetFrameRate ( int frameRate)
inline

Sets the target frame rate that the game will run at.

Parameters
frameRateTarget frame rate
Here is the caller graph for this function:

Field Documentation

◆ Instance

GameSettings GameSettings.Instance
static

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