Tesseract Engine Documentation

XML Methods

The methods of the XML class are listed below. For a complete list of XML class members, see the XML Members topic.

Public Static Methods

CreateGameObject 
CreateGameObjectType Create an GameObject using the "type" string included in the XmlNode. User-Defined types can be added to the engine by inheriting from GameObjectTypes and overloading it's CreateGameobjectType method. This method must create a new GameObject and assign it to the incoming GameObject. Creation of the GameObject by the overloaded User-Defined class should use a case statement to decide what kind of GameObject to create based on the Xml-based "type" parameter.
GetSolutionDirectory Gets the Solution directory containing UserControl Dlls.
GetWorkingDirectory Gets the current working directory for file access
LoadAssembly 
LoadPlayerIndex Loads availible Players from PlayerInfo.xml and stores them in the PlayerInfo list.
LoadQuestInfo 
LoadUserPreferences Loads xml System settings from SystemSettings.xml.
SaveUserPreferences Saves xml System settings in SystemSettings.xml.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

XML Class | DarkWynter.Engine.Init Namespace