An NDoc Documented Class Library

Player Members

Player overview

Public Instance Constructors

Player Constructor Ooo mighty constructor

Public Instance Fields

delirium is delirium

Public Instance Properties

Alive is player alive?
C2H5OH alcohol in blood
Delirium is delirium?
Direction (inherited from Entity) direction of movment
Lives number of lifes
Map map object
MapPosition (inherited from Entity) position of entitiy in map coordinate
Model (inherited from Entity) model mesh
Moving (inherited from Entity) is entity moving?
Position (inherited from Entity) position of entity
Score player's score
Speed (inherited from Entity) speed of movement

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.

Public Instance Events

OnItemPicked Item picked event

Protected Instance Fields

__delirium delirium value of alcohol in blood
c2h5oh alcohol in blood
dev (inherited from Entity) Direct3D device
direction (inherited from Entity) direction of movment
lastTime (inherited from Entity) time of last update
lives number of lifes
map map object
mapPosition (inherited from Entity) postion in map coordinate
materialList (inherited from Entity) model materials
model (inherited from Entity) model mesh
moveDirection (inherited from Entity) direction of movement in map coordinate
moving (inherited from Entity) is entity moving?
nextMapPosition (inherited from Entity) postion in map coordinate
position (inherited from Entity) position of entity
score player's score
speed (inherited from Entity) speed of movement
textureList (inherited from Entity) model textures

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