Changeset 6405 for code/branches/pickup2/src/orxonox/worldentities/pawns
- Timestamp:
- Dec 23, 2009, 8:27:17 PM (15 years ago)
- Location:
- code/branches/pickup2/src/orxonox/worldentities/pawns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2/src/orxonox/worldentities/pawns/Pawn.cc
r5929 r6405 70 70 this->spawnparticleduration_ = 3.0f; 71 71 72 this->getPickups().setOwner(this); 72 //TODO: Remove. 73 //this->getPickups().setOwner(this); 73 74 74 75 if (GameMode::isMaster()) … … 295 296 } 296 297 297 void Pawn::dropItems() 298 { 299 this->getPickups().clear(); 300 } 298 //TODO: Remove. 299 // void Pawn::dropItems() 300 // { 301 // this->getPickups().clear(); 302 // } 301 303 302 304 -
code/branches/pickup2/src/orxonox/worldentities/pawns/Pawn.h
r5781 r6405 35 35 #include "interfaces/RadarViewable.h" 36 36 #include "worldentities/ControllableEntity.h" 37 #include "pickup/PickupCollection.h" 37 //TODO: Remove. 38 //#include "pickup/PickupCollection.h" 38 39 39 40 namespace orxonox … … 109 110 { return this->numexplosionchunks_; } 110 111 111 virtual void dropItems(); 112 inline PickupCollection& getPickups() 113 { return this->pickups_; } 114 virtual void useItem() 115 { this->pickups_.useItem(); } 112 //TODO: Remove. 113 // virtual void dropItems(); 114 // inline PickupCollection& getPickups() 115 // { return this->pickups_; } 116 // virtual void useItem() 117 // { this->pickups_.useItem(); } 116 118 117 119 virtual void startLocalHumanControl(); … … 128 130 bool bAlive_; 129 131 130 PickupCollection pickups_; 132 //TODO: Remove. 133 //PickupCollection pickups_; 131 134 132 135 float health_;
Note: See TracChangeset
for help on using the changeset viewer.