- Timestamp:
- Oct 22, 2008, 4:03:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem/src/orxonox/objects/GlobalQuest.h
r1992 r1996 47 47 public: 48 48 GlobalQuest(std::string id, std::string title = "", std::string description = ""); 49 ~GlobalQuest();49 virtual ~GlobalQuest(); 50 50 51 51 protected: 52 virtual bool isStartable(const Player & player) const; //!< Checks whether the quest can be started. 53 virtual bool isFailable(const Player & player) const; //!< Checks whether the quest can be failed. 54 virtual bool isCompletable(const Player & player) const; //!< Checks whether the quest can be completed. 55 52 56 virtual questStatus::Enum getStatus(const Player & player) const; //!< Returns the status of the quest for a specific player. 53 virtual voidsetStatus(const Player & player, const questStatus::Enum & status); //!< Sets the status for a specific player.57 virtual bool setStatus(const Player & player, const questStatus::Enum & status); //!< Sets the status for a specific player. 54 58 55 59 private:
Note: See TracChangeset
for help on using the changeset viewer.