MuGameFramework  1.0
MuGameFramework is a 2D game framework built upon C# and SFML
 All Classes Namespaces Files Functions Variables Enumerations Properties
MuGameFramework.GameSettings Class Reference

Used to provide the settings to the GameEngine More...

Public Member Functions

 GameSettings ()
 Initialize an instance of GameSettings with the default settings

Public Attributes

bool IsFixedTimestep = true
 Is the game running at a Variable or Fixed timestep (framerate)
int FixedFramerate = 60
 Framerate for the game to display at.
string WindowName = "Video Game"
 Title for the window
Rectangle WindowSizeLoc = new Rectangle(0, 0, 1024, 576)
 Size and position of the window
bool IsFullscreen = false
 Is the window generated to be fullscreen?
string ContentDir = "Content"
 Initial directory holding all the games content

Detailed Description

Used to provide the settings to the GameEngine

Constructor & Destructor Documentation

MuGameFramework.GameSettings.GameSettings ( )

Initialize an instance of GameSettings with the default settings

Member Data Documentation

string MuGameFramework.GameSettings.ContentDir = "Content"

Initial directory holding all the games content

int MuGameFramework.GameSettings.FixedFramerate = 60

Framerate for the game to display at.

bool MuGameFramework.GameSettings.IsFixedTimestep = true

Is the game running at a Variable or Fixed timestep (framerate)

bool MuGameFramework.GameSettings.IsFullscreen = false

Is the window generated to be fullscreen?

string MuGameFramework.GameSettings.WindowName = "Video Game"

Title for the window

Rectangle MuGameFramework.GameSettings.WindowSizeLoc = new Rectangle(0, 0, 1024, 576)

Size and position of the window


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