- Timestamp:
- Apr 6, 2011, 11:06:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/portals/src/orxonox/worldentities/PortalLink.h
r8177 r8198 6 6 #include "core/BaseObject.h" 7 7 #include "PortalEndPoint.h" 8 #include "objects/eventsystem/EventListener.h" 8 9 9 10 #include <set> … … 11 12 namespace orxonox 12 13 { 13 class _OrxonoxExport PortalLink : public BaseObject14 class _OrxonoxExport PortalLink : public EventListener 14 15 { 15 16 public: … … 36 37 } 37 38 void use(WorldEntity * entity); 39 virtual void processEvent(Event& event); 38 40 protected: 39 41 private: … … 44 46 float activationRadius_; 45 47 std::set<WorldEntity *> recentlyPorted; 48 ObjectList<WorldEntity>::iterator it_; 46 49 bool isNowPortable(WorldEntity * ent); 47 50 };
Note: See TracChangeset
for help on using the changeset viewer.