Player Class Reference

Special Character that reacts to key events. More...

Inheritance diagram for Player:

Inheritance graph
[legend]
Collaboration diagram for Player:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Player (Object *object, World *world)
 ctor
virtual void update (btScalar dt)
 Update the position of the player.
virtual bool event (const irr::SEvent &e)
 Set movement direction based on key event.


Detailed Description

Special Character that reacts to key events.

This class is meant for a special kind of character : the player. NPC will use directly the Character class and be managed by the AI.


Member Function Documentation

void Player::update ( btScalar  dt  )  [virtual]

Update the position of the player.

This function relies of Character for all the updating but alos changes the position of the audio listener.

Reimplemented from Character.

References Game::getAudioManager(), Object::getCenterOfMassPosition(), Game::instance(), and Character::update().


The documentation for this class was generated from the following files:

Generated on Sat Jul 26 13:58:39 2008 for TFK:GE by  doxygen 1.5.5