duncan
Mom and Dad were wrong!
|
00001 #ifndef SERVER_CHARACTER_H_ 00002 #define SERVER_CHARACTER_H_ 00003 00004 #include <string> 00005 #include "movable.h" 00006 00007 namespace server { 00008 00017 class Character : public Movable { 00018 protected: 00019 std::string name_; 00020 double row_,col_; 00021 public: 00022 Character(); 00023 virtual ~Character(); 00024 00025 void set_pos(double,double); 00026 void set_name(const std::string&); 00027 double row(); 00028 double col(); 00029 const std::string& name(); 00030 virtual bool can_find_path(); 00031 00036 net::index_t index; 00037 }; 00038 00039 } 00040 00041 #endif