- Timestamp:
- Apr 4, 2019, 4:37:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/BallGun/BallProjectile.h
r12254 r12281 48 48 @ingroup WeaponsProjectiles 49 49 */ 50 class _WeaponsExport BallProjectile : public Projectile50 class _WeaponsExport BallProjectile : public BillboardProjectile 51 51 { 52 52 public: 53 53 BallProjectile(Context* context); 54 virtual ~BallProjectile(); 55 virtual void Bounce(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs); 56 virtual bool processCollision(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs); 54 void Bounce(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs); 55 //bool BallProjectile::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* cs, btManifoldPoint& contactPoint); 56 bool BallProjectile::processCollision(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape*); 57 virtual void setMaterial(const std::string& material) override; 58 57 59 private: 58 ParticleInterface* particles_; //!< The particles. 60 61 void registerVariables(); 62 void changeTexture(); 63 64 unsigned int textureIndex_; //!< The current index of the texture. (i.e. the index of the currently displayed texture) 65 unsigned int maxTextureIndex_; //!< The maximal index. 66 std::string materialBase_; //!< The base name of the material. 59 67 }; 60 68 }
Note: See TracChangeset
for help on using the changeset viewer.