Punkman X1 API

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
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

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

OnItemPickedHandler On Item Picked event handler
Update update player state

Private Instance Fields

blitkomet particle system
detoxTime the Time in bloody detox will come
lastSoundPlay 
owner game owner object

See Also

Player Class | PunkMan.Game Namespace