Changeset 8706 for code/trunk/src/orxonox/controllers/Controller.h
- Timestamp:
- Jun 14, 2011, 8:53:28 PM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/controllers/Controller.h
r6417 r8706 50 50 { return this->player_; } 51 51 52 virtual inline void hit(Pawn* originator, btManifoldPoint& contactpoint, float damage) {}; 52 virtual void hit(Pawn* originator, btManifoldPoint& contactpoint, float damage) {}; 53 54 /* Override needed for different visual effects (e.g. in "NewHumanController.cc") depending on 55 the DIFFERENT AMOUNT OF DAMAGE done to the shield and to the health of "victim" (see Projectile.cc, Pawn.cc) 56 57 // virtual inline void hit(Pawn* originator, btManifoldPoint& contactpoint, float damage, float healthdamage, float shielddamage) {}; 58 */ 53 59 54 60 void setGodMode( bool mode ){ this->bGodMode_ = mode; }
Note: See TracChangeset
for help on using the changeset viewer.