Changeset 2092 for code/trunk/src/orxonox/objects/quest/QuestHint.h
- Timestamp:
- Nov 1, 2008, 8:32:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/quest/QuestHint.h
r2091 r2092 26 26 * 27 27 */ 28 28 29 29 #ifndef _QuestHint_H__ 30 30 #define _QuestHint_H__ … … 64 64 class QuestHint : public QuestItem 65 65 { 66 66 67 67 public: 68 QuestHint( );69 ~QuestHint();70 68 QuestHint(BaseObject* creator); 69 virtual ~QuestHint(); 70 71 71 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 72 72 73 73 bool isActive(Player* player); //!< Returns true if the hint is active for the input player. 74 74 75 75 bool activate(Player* player); //!< Activates the hint for the input player. 76 76 77 77 bool setQuest(Quest* quest); //!< Sets the quest the hint belongs to. 78 78 79 79 inline Quest* getQuest(void) 80 80 { return this->quest_; } 81 81 82 82 private: 83 83 84 84 void initialize(void); 85 85 86 86 Quest* quest_; //!< The quest the hint belongs to. 87 87 std::map<Player*, questHintStatus::Enum> playerStatus_; //!< List of the status for each player, with the Player-pointer as key. 88 88 89 89 }; 90 90
Note: See TracChangeset
for help on using the changeset viewer.