duncan
Mom and Dad were wrong!
/home/malcolm/tmp/duncan/prototype/0/server/movable.h
00001 #ifndef SERVER_MOVABLE_H_
00002 #define SERVER_MOVABLE_H_
00003 
00004 #include "../network/network.h"
00005 
00006 namespace server {
00007 
00016 class Movable {
00017         private:
00018                 net::dir_t dir_;
00019                 double speed_;
00020         public:
00021                 Movable();
00022                 void set_dir(net::dir_t);
00023                 void set_speed(double);
00024                 double rspeed();
00025                 double cspeed();
00026                 bool is_moving();
00027                 virtual ~Movable();
00028 };
00029 
00030 }
00031 
00032 #endif
 All Classes Namespaces Functions Variables Typedefs Enumerations