Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickups2/src/orxonox/objects/pickup/PickupSpawner.h @ 2217

Last change on this file since 2217 was 2202, checked in by dsommer, 16 years ago

PickupSpawner

File size: 694 bytes
RevLine 
[2202]1
2
3namespace orxonox
4{
5        class _OrxonoxExport PickupSpawner: public PositionableEnity
6        {
7        public:
8        PickupSpawner(BaseObject* creator);
9        virtual ~PickupSpawner();
10
11        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
12        virtual void processEvent(Event& event);
13        virtual void changedActivity();
14        virtual void triggering(bool active, DistanceTrigger* trigger); // Wenn ein Spieler in die Naehe kommt
15        void activateSpawner(bool active);
16
17        void setItemTemplate(const std::string& itemtemplate);
18        inline const sdt::string& getItemTemplate() const
19                { return this->itemtemplate_; }
20       
21        private:
22        std::string itemtemplate_;
23        Template* template_;
24        bool isActive;
25        }
26       
27       
28       
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45}
Note: See TracBrowser for help on using the repository browser.