Tesseract Engine Documentation

XML Members

XML overview

Public Static Fields

contentInstalled Content check boolean. If content is loaded, set to true.
gameObjectTypes Contains all the Type definitions for GameObjects
playerInfo List of instantiations of the PlayerInfo struct, contained in PlayerModels.xml.

Public Static Methods

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
LoadPlayerIndex Loads availible Players from PlayerInfo.xml and stores them in the PlayerInfo list.
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