#include <MovementController.h>

Public Member Functions | |
| MovementController (MVFirefly *firefly, Camera *camera) | |
| Standard Constructor. | |
| MovementController (const MovementController &source) | |
| Copy Constructor. | |
| ~MovementController () | |
| Destructor. | |
| void | update (Uint32 time) |
| Calculates a new position for cam and bug. | |
| virtual string | toString () const |
| Returns a textual representation. | |
| virtual string | className () const |
| Returns the class name of the object. | |
| virtual enum classId | classId () const |
| Returns the class id of the object. | |
Private Attributes | |
| MVFirefly * | firefly |
| Camera * | camera |
| Uint32 | lastUpdate |
Locks Camera at the Firefly and moves both
Standard Constructor.
| firefly | the firefly to take care of | |
| camera | the camera to take care of |
| MovementController::MovementController | ( | const MovementController & | source | ) |
Copy Constructor.
| source | the object to copy |
| MovementController::~MovementController | ( | ) |
Destructor.
| void MovementController::update | ( | Uint32 | time | ) |
Calculates a new position for cam and bug.
| string MovementController::toString | ( | ) | const [virtual] |
Returns a textual representation.
Reimplemented from Object.
| string MovementController::className | ( | ) | const [virtual] |
Returns the class name of the object.
Reimplemented from Object.
| enum classId MovementController::classId | ( | ) | const [virtual] |
MVFirefly* MovementController::firefly [private] |
Camera* MovementController::camera [private] |
Uint32 MovementController::lastUpdate [private] |
1.5.6