3DRadSpace  v1.0.0a
Scripting documentation
_3DRadSpaceDll.GameSettings Class Reference

Represents game's settings like fullscreen, framerate, resolution. More...

Public Member Functions

 GameSettings ()
 Empty GameSettings constructor. More...
 
 GameSettings (Point resolution, int fps, bool full)
 Main GameSettings constructor. More...
 
override string ToString ()
 Returns a string representing the settings. More...
 

Public Attributes

Point GameScreen
 Represents the resolution. More...
 
int MaximumFramerate
 Represents the maximum frames per second values. More...
 
bool Fullscreen
 Toggles fullscreen mode. More...
 

Detailed Description

Represents game's settings like fullscreen, framerate, resolution.

Constructor & Destructor Documentation

◆ GameSettings() [1/2]

_3DRadSpaceDll.GameSettings.GameSettings ( )

Empty GameSettings constructor.

◆ GameSettings() [2/2]

_3DRadSpaceDll.GameSettings.GameSettings ( Point  resolution,
int  fps,
bool  full 
)

Main GameSettings constructor.

Parameters
resolution
fps
full

Member Function Documentation

◆ ToString()

override string _3DRadSpaceDll.GameSettings.ToString ( )

Returns a string representing the settings.

Returns
A string containing the values.

Member Data Documentation

◆ Fullscreen

bool _3DRadSpaceDll.GameSettings.Fullscreen

Toggles fullscreen mode.

◆ GameScreen

Point _3DRadSpaceDll.GameSettings.GameScreen

Represents the resolution.

◆ MaximumFramerate

int _3DRadSpaceDll.GameSettings.MaximumFramerate

Represents the maximum frames per second values.