Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

move.hh

Go to the documentation of this file.
00001 #ifndef _move_hh_
00002 #define _move_hh_
00003 
00004 #include "position.hh"
00005 
00006 namespace anoid {
00007     namespace plugin {
00008 
00013         class Move: public Position {
00014             protected:
00015                 simple::Vector movement;
00016                 simple::Vector oldPosition;
00017             public:
00018                 virtual simple::Vector getMovement();
00019                 simple::Vector getOldPosition() { return oldPosition; }
00020                 void setPosition(simple::Vector &p);
00021                 void setMovement(simple::Vector &m);
00022                 virtual void init(config::Configuration &c);
00023                 virtual void update();
00024         };
00025 
00026     };
00027 };
00028 
00029 #endif

Anoid NG © Michael Westergaard, Martin Stig Stissing, Ronni Michael Laursen, and Kristian Bisgaard Lassen