Метод | Описание | |
---|---|---|
Read ( string fileName ) : void |
Read the Game constants file.
|
|
ReadElements ( |
Метод | Описание | |
---|---|---|
GameConstants ( ) : System | ||
ReadBool ( string s, bool defaultVal ) : bool |
Read a boolean value from a string in the xml file.
|
|
ReadColour ( string s, Color defaultVal ) : Color |
Read a colour value from a string in the xml file.
|
|
ReadFloat ( string s, float defaultVal ) : float |
Read a float value from a string in the xml file.
|
|
ReadFromFile ( string fileName ) : void | ||
ReadInt ( string s, int defaultVal ) : int |
Read an integer value from a string in the xml file.
|
|
ReadResolution ( string s, |
Read a Resolution object from a string in the xml file.
|
public ReadElements ( |
||
element | ||
recognizedElementReaders | Dictionary |
|
Результат | void |