An NDoc Documented Class Library

Entity Members

Entity overview

Public Instance Constructors

Entity Overloaded. Initializes a new instance of the Entity class.

Public Instance Properties

Direction direction of movment
MapPosition position of entitiy in map coordinate
Model model mesh
Moving is entity moving?
Position position of entity
Speed 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 start entity movement
OnResetDevice Device reset resurection
Render draw entity
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

dev Direct3D device
direction direction of movment
lastTime time of last update
mapPosition postion in map coordinate
materialList model materials
model model mesh
moveDirection direction of movement in map coordinate
moving is entity moving?
nextMapPosition postion in map coordinate
position position of entity
speed speed of movement
textureList 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.
Update update entity state

See Also

Entity Class | PunkMan.Game Namespace