An NDoc Documented Class Library

Monster Members

Monster overview

Public Instance Constructors

Monster Constructor Mighty constructor

Public Instance Properties

Direction (inherited from Entity) direction of movment
Killed Is monster alive?
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
Speed (inherited from Entity) speed of movement

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.
MoveTo (inherited from Entity) start entity movement
OnResetDevice (inherited from Entity) Device reset resurection
Render Draw monster
ToString (inherited from Object)Returns a String that represents the current Object.

Public Instance Events

OnAttack Attack event

Protected Instance Fields

dev (inherited from Entity) Direct3D device
direction (inherited from Entity) direction of movment
killed Is monster alive?
lastTime (inherited from Entity) time of last update
map Current 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
player Player object
position (inherited from Entity) position of entity
speed (inherited from Entity) speed of movement
textureList (inherited from Entity) model textures

Protected Instance Methods

CanSeePlayer can see player
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.
Update Update monster state

See Also

Monster Class | PunkMan.Game Namespace