- Timestamp:
- Nov 13, 2008, 9:55:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem2/src/orxonox/objects/quest/QuestHint.h
r2191 r2205 82 82 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); //!< Method for creating a QuestHint object through XML. 83 83 84 bool isActive( ControllableEntity* player); //!< Returns true if the QuestHint is active for the input player.84 bool isActive(const PlayerInfo* player) const; //!< Returns true if the QuestHint is active for the input player. 85 85 86 bool setActive( ControllableEntity* player); //!< Activates the QuestHint for the input player.86 bool setActive(PlayerInfo* player); //!< Activates the QuestHint for the input player. 87 87 bool setQuest(Quest* quest); //!< Sets the Quest the QuestHint belongs to. 88 88 … … 96 96 private: 97 97 Quest* quest_; //!< The Quest the QuestHint belongs to. 98 std::map< ControllableEntity*, questHintStatus::Enum> playerStatus_; //!< List of the status for each player, with the Player-pointer as key.98 std::map<const PlayerInfo*, questHintStatus::Enum> playerStatus_; //!< List of the status for each player, with the Player-pointer as key. 99 99 100 100 };
Note: See TracChangeset
for help on using the changeset viewer.