- Timestamp:
- Nov 19, 2015, 11:40:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/questsystem/LocalQuest.h
r9667 r10817 87 87 virtual ~LocalQuest(); 88 88 89 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) ; //!< Method for creating a LocalQuest object through XML.89 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode) override; //!< Method for creating a LocalQuest object through XML. 90 90 91 virtual bool fail(PlayerInfo* player) ; //!< Fails the Quest.92 virtual bool complete(PlayerInfo* player) ; //!< Completes the Quest.91 virtual bool fail(PlayerInfo* player) override; //!< Fails the Quest. 92 virtual bool complete(PlayerInfo* player) override; //!< Completes the Quest. 93 93 94 94 protected: 95 virtual bool isStartable(const PlayerInfo* player) const ; //!< Checks whether the Quest can be started.96 virtual bool isFailable(const PlayerInfo* player) const ; //!< Checks whether the Quest can be failed.97 virtual bool isCompletable(const PlayerInfo* player) const ; //!< Checks whether the Quest can be completed.95 virtual bool isStartable(const PlayerInfo* player) const override; //!< Checks whether the Quest can be started. 96 virtual bool isFailable(const PlayerInfo* player) const override; //!< Checks whether the Quest can be failed. 97 virtual bool isCompletable(const PlayerInfo* player) const override; //!< Checks whether the Quest can be completed. 98 98 99 virtual QuestStatus::Value getStatus(const PlayerInfo* player) const ; //!< Returns the status of the Quest for a specific player.100 virtual bool setStatus(PlayerInfo* player, const QuestStatus::Value & status) ; //!< Sets the status for a specific player.99 virtual QuestStatus::Value getStatus(const PlayerInfo* player) const override; //!< Returns the status of the Quest for a specific player. 100 virtual bool setStatus(PlayerInfo* player, const QuestStatus::Value & status) override; //!< Sets the status for a specific player. 101 101 102 102 private:
Note: See TracChangeset
for help on using the changeset viewer.