Changeset 6419 for code/branches/pickup3/src/orxonox/worldentities/pawns
- Timestamp:
- Dec 25, 2009, 11:07:09 PM (15 years ago)
- Location:
- code/branches/pickup3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup3
- Property svn:mergeinfo changed
/code/branches/pickup2 (added) merged: 5942,5947,5953,6405
- Property svn:mergeinfo changed
-
code/branches/pickup3/src/orxonox/worldentities/pawns/Pawn.cc
r6417 r6419 71 71 this->aimPosition_ = Vector3::ZERO; 72 72 73 this->getPickups().setOwner(this); 73 //TODO: Remove. 74 //this->getPickups().setOwner(this); 74 75 75 76 if (GameMode::isMaster()) … … 296 297 } 297 298 298 void Pawn::dropItems() 299 { 300 this->getPickups().clear(); 301 } 299 //TODO: Remove. 300 // void Pawn::dropItems() 301 // { 302 // this->getPickups().clear(); 303 // } 302 304 303 305 -
code/branches/pickup3/src/orxonox/worldentities/pawns/Pawn.h
r6417 r6419 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(); … … 135 137 bool bAlive_; 136 138 137 PickupCollection pickups_; 139 //TODO: Remove. 140 //PickupCollection pickups_; 138 141 139 142 float health_;
Note: See TracChangeset
for help on using the changeset viewer.