Punkman X1 API

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

MoveTo start entity movement
OnResetDevice Device reset resurection
Render draw entity

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

Update update entity state

Private Instance Fields

fileName file name of .x model

See Also

Entity Class | PunkMan.Game Namespace