- Timestamp:
- Oct 27, 2008, 8:31:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem/src/orxonox/objects/QuestHint.h
r1996 r2021 34 34 35 35 #include "QuestDescription.h" 36 #include "Quest.h"37 36 #include "QuestItem.h" 37 38 namespace questHintStatus 39 { 40 41 enum Enum 42 { 43 inactive, 44 active 45 }; 46 47 } 38 48 39 49 namespace orxonox 40 50 { 51 52 class Player; //Forward declaration, remove when fully integrated into the objecthirarchy. 53 class Quest; //To avoid circual includes. 41 54 42 55 /** … … 51 64 52 65 public: 66 QuestHint(); 53 67 QuestHint(std::string id, std::string title = "", std::string description = ""); 54 68 ~QuestHint(); 55 69 56 bool isActive( const Player & player) const; //!< Returns true if the hint is active for the input player.70 bool isActive(Player* player); //!< Returns true if the hint is active for the input player. 57 71 58 bool activate( const Player &player); //!< Activates the hint for the input player.72 bool activate(Player* player); //!< Activates the hint for the input player. 59 73 60 74 void setQuest(Quest* quest); //!< Sets the quest the hint belongs to. 61 75 62 private: 76 private: 63 77 64 78 Quest* quest_; … … 69 83 } 70 84 71 namespace questHintStatus72 {73 74 enum Enum75 {76 inactive,77 active78 };79 80 }81 82 85 #endif /* _QuestHint_H__ */
Note: See TracChangeset
for help on using the changeset viewer.