Monster Members

Punkman X1 API |

# 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

MoveTo (inherited from Entity) | start entity movement
OnResetDevice (inherited from Entity) | Device reset resurection
Render | Draw monster

#### 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
Update | Update monster state

#### See Also

Monster Class | PunkMan.Game Namespace