C# Класс Artemis.Engine.GameConstants

Показать файл Открыть проект

Открытые методы

Метод Описание
Read ( string fileName ) : void

Read the Game constants file.

ReadElements ( XmlElement element, Dictionary recognizedElementReaders ) : void

Приватные методы

Метод Описание
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, Resolution defaultVal ) : Resolution

Read a Resolution object from a string in the xml file.

Описание методов

Read() публичный Метод

Read the Game constants file.
public Read ( string fileName ) : void
fileName string
Результат void

ReadElements() публичный Метод

public ReadElements ( XmlElement element, Dictionary recognizedElementReaders ) : void
element System.Xml.XmlElement
recognizedElementReaders Dictionary
Результат void