Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 1, 2008, 8:32:10 PM (16 years ago)
Author:
landauf
Message:
  • adopted quest classes to the new hierarchy (with a creator pointer)
  • added "RegisterObject(…)" in all constructors and "virtual" to all destructors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/quest/AddQuestHint.h

    r2091 r2092  
    4747    {
    4848        public:
    49             AddQuestHint();
    50             ~AddQuestHint();
    51            
     49            AddQuestHint(BaseObject* creator);
     50            virtual ~AddQuestHint();
     51
    5252            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    53            
     53
    5454            virtual bool invoke(Player* player); //!< Invokes the effect.
    55            
     55
    5656        private:
    5757            std::string hintId_;
    58            
     58
    5959            inline const std::string & getHintId(void) const
    6060                { return this->hintId_; }
    6161            void setHintId(const std::string & id);
    62    
     62
    6363    };
    6464
Note: See TracChangeset for help on using the changeset viewer.