Changeset 6524 for code/trunk/src/orxonox/interfaces
- Timestamp:
- Mar 15, 2010, 3:27:09 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/interfaces/CMakeLists.txt
r5781 r6524 1 1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES 2 2 InterfaceCompilation.cc 3 Pickupable.cc 3 4 RadarViewable.cc 4 5 ) -
code/trunk/src/orxonox/interfaces/InterfaceCompilation.cc
r5929 r6524 34 34 35 35 #include "GametypeMessageListener.h" 36 #include "PickupCarrier.h" 36 37 #include "PlayerTrigger.h" 37 38 #include "RadarListener.h" … … 51 52 RegisterRootObject(GametypeMessageListener); 52 53 } 54 55 //---------------------------- 56 // PickupCarrier 57 //---------------------------- 58 PickupCarrier::PickupCarrier() 59 { 60 RegisterRootObject(PickupCarrier); 61 62 } 63 64 PickupCarrier::~PickupCarrier() 65 { 66 for(std::set<Pickupable*>::iterator it = this->pickups_.begin(); it != this->pickups_.end(); it++) 67 { 68 (*it)->destroy(); 69 } 70 71 this->pickups_.clear(); 72 } 53 73 74 //---------------------------- 75 // PlayerTrigger 76 //---------------------------- 77 PlayerTrigger::PlayerTrigger() 78 { 79 RegisterRootObject(PlayerTrigger); 80 81 this->player_ = NULL; 82 this->isForPlayer_ = true; 83 } 84 54 85 //---------------------------- 55 86 // RadarListener … … 83 114 RegisterRootObject(NotificationListener); 84 115 } 85 86 //----------------------------87 // PlayerTrigger88 //----------------------------89 PlayerTrigger::PlayerTrigger()90 {91 RegisterRootObject(PlayerTrigger);92 93 this->player_ = NULL;94 this->isForPlayer_ = true;95 }96 116 }
Note: See TracChangeset
for help on using the changeset viewer.