An NDoc Documented Class Library

Player Methods

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

Public Instance Methods

Detox Detoxicate player
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.
Killed call when player killed by monster
MoveTo (inherited from Entity) start entity movement
OnResetDevice (inherited from Entity) Device reset resurection
PlayerKillMonster Called when player killed monster
Render draw player
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

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.
OnItemPickedHandler On Item Picked event handler
Update update player state

See Also

Player Class | PunkMan.Game Namespace