Changeset 2324 for code/branches/pickups2/src/orxonox/objects/worldentities
- Timestamp:
- Dec 3, 2008, 4:07:49 PM (16 years ago)
- Location:
- code/branches/pickups2/src/orxonox/objects/worldentities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickups2/src/orxonox/objects/worldentities/ControllableEntity.h
r2087 r2324 70 70 virtual void greet() {} 71 71 virtual void use() {} 72 virtual void dropItems() {} 72 73 virtual void switchCamera(); 73 74 -
code/branches/pickups2/src/orxonox/objects/worldentities/pawns/Pawn.cc
r2106 r2324 46 46 47 47 this->bAlive_ = false; 48 48 this->getPickUp().setPlayer(this); 49 49 this->health_ = 0; 50 50 this->maxHealth_ = 0; … … 148 148 this->spawn(); 149 149 } 150 151 void Pawn::dropItems() 152 { 153 pickUp.eraseAll(); 154 } 150 155 } -
code/branches/pickups2/src/orxonox/objects/worldentities/pawns/Pawn.h
r2293 r2324 75 75 76 76 virtual void fire(); 77 virtual void postSpawn(); 78 77 79 inline ShipEquipment& getPickUp() 78 80 {return this->pickUp;} 79 virtual void postSpawn(); 81 82 virtual void dropItems(); 80 83 81 84 protected:
Note: See TracChangeset
for help on using the changeset viewer.