C# 클래스 Artemis.Engine.GameConstants

파일 보기 프로젝트 열기: ArtemisEngine/Artemis-Engine

공개 메소드들

메소드 설명
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