Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 22, 2008, 4:03:10 PM (16 years ago)
Author:
dafrick
Message:

Some cleaning, reorganization and implementation of some small methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem/src/orxonox/objects/GlobalQuest.h

    r1992 r1996  
    4747        public:
    4848            GlobalQuest(std::string id, std::string title = "", std::string description = "");
    49             ~GlobalQuest();
     49            virtual ~GlobalQuest();
    5050           
    5151        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       
    5256            virtual questStatus::Enum getStatus(const Player & player) const; //!< Returns the status of the quest for a specific player.
    53             virtual void setStatus(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.
    5458           
    5559        private:
Note: See TracChangeset for help on using the changeset viewer.