Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 1:29:33 PM (15 years ago)
Author:
dafrick
Message:

Just changed some small stuff…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem2/src/orxonox/objects/quest/QuestEffectBeacon.h

    r2146 r2191  
    6161            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    6262           
     63            virtual void processEvent(Event& event);
     64           
    6365            bool execute(ControllableEntity* player);
    6466           
     
    6668           
    6769        protected:
     70            bool decrementTimes(void);
     71           
     72            inline const int & getTimes(void) const
     73                { return this->times_; }
     74
     75        private:
    6876            std::list<QuestEffect*> effects_;
    6977            int times_; //!< Number of times the beacon can be exectued.
    7078            QuestEffectBeaconStatus::Enum status_;
    71            
    72             bool decrementTimes(void);
     79            Trigger* trigger_;
    7380           
    7481            bool setTimes(const int & n);
    7582            bool addEffect(QuestEffect* effect);
     83            bool addTrigger(Trigger* trigger);
    7684           
    77             inline const int & getTimes(void) const
    78                 { return this->times_; }
    79             const QuestEffect* getEffects(unsigned int index) const;
     85            const QuestEffect* getEffect(unsigned int index) const;
     86            const Trigger* getTrigger(unsigned int index) const;
    8087   
    8188    };
Note: See TracChangeset for help on using the changeset viewer.