00001 #ifndef _velocity_hh_ 00002 #define _velocity_hh_ 00003 00004 #include "move.hh" 00005 00006 namespace anoid { 00007 namespace plugin { 00008 00009 class Velocity: public Move { 00010 protected: 00011 simple::Vector velocity; 00012 public: 00013 virtual simple::Vector getVelocity(); 00014 void setVelocity(simple::Vector &v); 00015 virtual void init(config::Configuration &c); 00016 virtual void update(); 00017 virtual void receive(base::Message *m); 00018 }; 00019 00020 }; 00021 }; 00022 00023 #endif