- Timestamp:
- May 9, 2019, 11:36:28 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxBall.h
r12337 r12346 40 40 #include "util/Math.h" 41 41 42 #include "worldentities/ MovableEntity.h"42 #include "worldentities/pawns/Pawn.h" 43 43 #include <bullet/BulletCollision/NarrowPhaseCollision/btManifoldPoint.h> 44 44 … … 58 58 @ingroup OrxoBlox 59 59 */ 60 class _OrxoBloxExport OrxoBloxBall : public MovableEntity60 class _OrxoBloxExport OrxoBloxBall : public Pawn 61 61 { 62 62 public: … … 123 123 124 124 125 void Bounce(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint); 126 127 virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override; 125 void Bounce(OrxoBloxStones* otherObject); 126 void Collides(OrxoBloxStones* otherObject); 128 127 129 128 static const float MAX_REL_Z_VELOCITY; … … 139 138 void registerVariables(); 140 139 140 OrxoBlox* getOrxoBlox(); 141 141 float fieldWidth_; //!< The width of the playing field. 142 142 float fieldHeight_; //!< The height of the playing field. … … 150 150 WorldSound* defBatSound_; 151 151 WorldSound* defBoundarySound_; 152 OrxoBlox* orxoblox_; 152 153 }; 153 154 }
Note: See TracChangeset
for help on using the changeset viewer.