TConfig Class
Unit: uConfig
Top
Top
System.TObject
uConfig.TConfig
uConfig.TConfig
The TConfig type exposes the following members.
Show:
Name | Description | |
---|---|---|
![]() | BackgroundMusicOnOff | Start or stop the background music |
![]() | BackgroundMusicVolume | Background music volume between 0 and 100 |
![]() | Language | The language you should use on screen and messages |
![]() | SoundEffectsOnOff | Allow the sound effects |
![]() | SoundEffectsVolume | Sound effects volume between 0 and 100 |
![]() | VirtualControlsOnOff | Show virtual controls on screen (for a virtual gamepad or other things on iOS/Android or other screens with touch capacity) |
Show:
Name | Description | |
---|---|---|
![]() | BeginUpdate | Use it to delay the saving of parameters if you have more than one to update at the same time. |
![]() ![]() | Current | Return the instance to TConfig singleton |
![]() | EndUpdate | Use the EndUpdate to Save pending changes since a BeginUpdate. |
![]() | GetPath | Returns current path of the config file (directory+filename) |