- Timestamp:
- Aug 31, 2009, 9:18:17 PM (15 years ago)
- Location:
- code/branches/libraries2/src/orxonox/objects/worldentities/triggers
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/libraries2/src/orxonox/objects/worldentities/triggers/CMakeLists.txt
r3033 r5727 3 3 DistanceTrigger.cc 4 4 EventTrigger.cc 5 PlayerTrigger.cc6 5 CheckPoint.cc 7 6 ) -
code/branches/libraries2/src/orxonox/objects/worldentities/triggers/DistanceTrigger.cc
r5720 r5727 37 37 CreateFactory(DistanceTrigger); 38 38 39 DistanceTrigger::DistanceTrigger(BaseObject* creator) : PlayerTrigger(creator)39 DistanceTrigger::DistanceTrigger(BaseObject* creator) : Trigger(creator) 40 40 { 41 41 RegisterObject(DistanceTrigger); -
code/branches/libraries2/src/orxonox/objects/worldentities/triggers/DistanceTrigger.h
r3280 r5727 34 34 #include <set> 35 35 #include "core/ClassTreeMask.h" 36 #include "PlayerTrigger.h" 36 #include "Trigger.h" 37 #include "interfaces/PlayerTrigger.h" 37 38 38 39 namespace orxonox 39 40 { 40 class _OrxonoxExport DistanceTrigger : public PlayerTrigger41 class _OrxonoxExport DistanceTrigger : public Trigger, public PlayerTrigger 41 42 { 42 43 public: … … 67 68 std::set<Ogre::Node*> targetSet_; 68 69 float distance_; 69 70 70 71 }; 71 72 }
Note: See TracChangeset
for help on using the changeset viewer.