![]() Deserialize | This function is called by XmlSerializerHelper, if you choose to use it This returns a deserialized InputDeviceMapper. driverTypes is an array of all the types of driver you are interested in having 're-hydrated' from the XML file |
InputDeviceMapper Constructor
|
The InputDeviceMapper begins with no knowledge of drivers, you must add them either via Deserialize |
HasChanged | |
Item | main accessor for this class takes a unique device identifier string and returns the corresponding InputDeviceDriver (read only) |
Dispose | |
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, suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
InitAfterDeserialization | Implementation of IInputAfterDeserialization |
Serialize | Implementation of ICustomSerialization NOTE: do not try to use XmlSerializer.Serialize directly on this object this object has to run special code to deal with the homogeneous types in its list of InputDeviceDrivers |
ToString | convenience method - prints out a list of the names of all drivers followed by a list of all inputs |
Update | Call this from your main loop. This will update all the drivers that are mapped. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
InputDeviceMapper Class | Goblin.Engine.Devices Namespace