Changeset 10744 in orxonox.OLD for branches/presentation/src/world_entities/creatures
- Timestamp:
- Jun 20, 2007, 9:03:02 PM (17 years ago)
- Location:
- branches/presentation/src/world_entities/creatures
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/creatures/fps_player.cc
r10741 r10744 212 212 { 213 213 Playable::loadParams(root); 214 } 215 216 void FPSPlayer::hit(float damage, WorldEntity* killer) 217 { 218 WorldEntity::hit(damage, killer); 219 if (this->hasPlayer()) 220 this->getCurrentPlayer()->hud().getHit(); 214 221 } 215 222 -
branches/presentation/src/world_entities/creatures/fps_player.h
r10718 r10744 31 31 32 32 virtual void reset(); 33 34 virtual void hit(float damage, WorldEntity* killer); 33 35 34 36 virtual void destroy(WorldEntity* killer);
Note: See TracChangeset
for help on using the changeset viewer.