Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2008, 8:34:59 AM (16 years ago)
Author:
dafrick
Message:

Some minor adjustements, just comitting to be on the safe side.

File:
1 edited

Legend:

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

    r2021 r2043  
    5353           
    5454        protected:
    55             virtual bool isStartable(Player* player); //!< Checks whether the quest can be started.
    56             virtual bool isFailable(Player* player); //!< Checks whether the quest can be failed.
    57             virtual bool isCompletable(Player* player); //!< Checks whether the quest can be completed.
     55            virtual bool isStartable(const Player* player) const; //!< Checks whether the quest can be started.
     56            virtual bool isFailable(const Player* player) const; //!< Checks whether the quest can be failed.
     57            virtual bool isCompletable(const Player* player) const; //!< Checks whether the quest can be completed.
    5858       
    59             virtual questStatus::Enum getStatus(const Player* player); //!< Returns the status of the quest for a specific player.
     59            virtual questStatus::Enum getStatus(const Player* player) const; //!< Returns the status of the quest for a specific player.
    6060            virtual bool setStatus(Player* player, const questStatus::Enum & status); //!< Sets the status for a specific player.
    6161               
Note: See TracChangeset for help on using the changeset viewer.