
Public Types | |
| typedef std::map< std::string, OptionValue > | Map |
Public Member Functions | |
| void | clear () |
| OptionValue | get (const std::string &key, OptionValue def=0, bool add=false) |
| void | load (const std::string &file, bool clear=true) |
| void | reload (bool clearOld=true) |
| void | remove (const std::string &key) |
| void | save (const std::string &file) const |
| void | set (const std::string &key, OptionValue val) |
Static Public Member Functions | |
| static GameOptions * | getInstance () |
| static bool | isActive () |
| static bool | isDestroyed () |
| static bool | isVirgin () |
Public Attributes | |
| Map | options |
Static Public Attributes | |
| static const std::string | OPTIONS_FILE = "AnimalRace.xml" |
Protected Member Functions | |
| Singleton () | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.3