Changeset 10818 for code/branches/cpp11_v2/src/modules/invader
- Timestamp:
- Nov 19, 2015, 7:55:11 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/modules/invader
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/modules/invader/InvaderEnemy.cc
r10765 r10818 64 64 } 65 65 66 inline bool InvaderEnemy::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint)66 inline bool InvaderEnemy::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) 67 67 { 68 68 if(orxonox_cast<InvaderShip*>(otherObject)) -
code/branches/cpp11_v2/src/modules/invader/InvaderEnemy.h
r10817 r10818 47 47 48 48 virtual void tick(float dt) override; 49 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);49 virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override; 50 50 virtual void damage(float damage, float healthdamage, float shielddamage, Pawn* originator, const btCollisionShape* cs) override; 51 51 virtual void setPlayer(InvaderShip* player){this->player = player;} -
code/branches/cpp11_v2/src/modules/invader/InvaderShip.cc
r10765 r10818 148 148 getGame()->end(); 149 149 } 150 inline bool InvaderShip::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint)150 inline bool InvaderShip::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) 151 151 { 152 152 // orxout() << "touch!!! " << endl; //<< otherObject << " at " << contactPoint; -
code/branches/cpp11_v2/src/modules/invader/InvaderShip.h
r10817 r10818 64 64 virtual void updateLevel(); 65 65 66 virtual inline bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint);66 virtual inline bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override; 67 67 68 68 protected:
Note: See TracChangeset
for help on using the changeset viewer.