- Timestamp:
- May 25, 2009, 8:30:15 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 dependencies
-
- Property svn:mergeinfo changed
/code/branches/pickups merged: 2828,2831,2864,2900 /code/branches/pickups2 merged: 2916-2917,2972,3001,3016,3040-3042,3046,3063
- Property svn:ignore
-
code/trunk/src/orxonox/objects/worldentities/pawns/Pawn.h
r3053 r3073 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include "objects/pickup/ShipEquipment.h"34 33 #include "objects/worldentities/ControllableEntity.h" 35 34 #include "objects/RadarViewable.h" 35 #include "objects/pickup/PickupCollection.h" 36 36 37 37 namespace orxonox … … 106 106 { return this->numexplosionchunks_; } 107 107 108 inline ShipEquipment& getPickUp()109 {return this->pickUp;}110 111 108 virtual void dropItems(); 109 inline PickupCollection& getPickups() 110 { return this->pickups_; } 111 virtual void useItem() 112 { this->pickups_.useItem(); } 112 113 113 114 protected: … … 119 120 virtual void spawneffect(); 120 121 121 ShipEquipment pickUp;122 122 bool bAlive_; 123 123 124 PickupCollection pickups_; 124 125 125 126 float health_;
Note: See TracChangeset
for help on using the changeset viewer.