Changeset 10625 for code/trunk/src/modules
- Timestamp:
- Oct 5, 2015, 3:28:39 PM (9 years ago)
- Location:
- code/trunk/src/modules/invader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/invader/InvaderEnemy.cc
r10624 r10625 79 79 } 80 80 81 void InvaderEnemy::damage(float damage, float healthdamage, float shielddamage, Pawn* originator )81 void InvaderEnemy::damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) 82 82 { 83 Pawn::damage(damage, healthdamage, shielddamage, originator );83 Pawn::damage(damage, healthdamage, shielddamage, originator, cs); 84 84 if (getGame() && orxonox_cast<InvaderShip*>(originator) != NULL && getHealth() <= 0) 85 85 getGame()->addPoints(42); -
code/trunk/src/modules/invader/InvaderEnemy.h
r10624 r10625 48 48 virtual void tick(float dt); 49 49 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); 50 virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator );50 virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs); 51 51 virtual void setPlayer(InvaderShip* player){this->player = player;} 52 52
Note: See TracChangeset
for help on using the changeset viewer.