00001 #ifndef HUNTER_H 00002 #define HUNTER_H 00003 00004 #include "Mobile.h" 00005 #include "Monster.h" 00006 00008 class Hunter : public Mobile { 00009 public: 00010 Hunter(const string& name = "A player", char decal = 'x'); 00017 virtual void makeMove() =0; 00019 int distanceToMonster(); 00021 Coord positionOfMonster(); 00022 00026 void setMonster(Monster* monster) { 00027 this->monster = monster; 00028 } 00029 00030 private: 00031 Monster *monster; 00032 }; 00033 00034 00035 #endif