#include <position.hh>
Inheritance diagram for anoid::plugin::Position:


Public Methods | |
| virtual simple::Vector | getPosition () |
| virtual void | redraw () |
| virtual void | init (config::Configuration &c) |
Protected Attributes | |
| simple::Vector | position |
Definition at line 14 of file position.hh.
|
|
Definition at line 12 of file position.cc. References position, and Vector(). Referenced by anoid::plugin::anoid::Pad::receive(). |
|
|
This is the real initialiser. It should take it's parameters from the provided configuration
Reimplemented from anoid::base::Ability. Reimplemented in anoid::plugin::Acceleration, anoid::plugin::Dynamics, anoid::plugin::Move, and anoid::plugin::Velocity. Definition at line 21 of file position.cc. References position, and anoid::base::Ability::registerName(). |
|
|
Called just after update has been called on the entire world. This should draw the objects (using OpenGL). Reimplemented from anoid::base::Object. Reimplemented in anoid::plugin::Dynamics. Definition at line 16 of file position.cc. References anoid::base::Object::getWorld(), and position. |
|
|
Definition at line 16 of file position.hh. Referenced by getPosition(), init(), anoid::plugin::Velocity::receive(), anoid::plugin::Dynamics::receive(), redraw(), anoid::plugin::Move::setPosition(), and anoid::plugin::Move::update(). |