Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 4, 2019, 4:37:19 PM (5 years ago)
Author:
pomselj
Message:

weapon stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/BallGun/BallProjectile.h

    r12254 r12281  
    4848    @ingroup WeaponsProjectiles
    4949    */
    50     class _WeaponsExport BallProjectile : public Projectile
     50    class _WeaponsExport BallProjectile : public BillboardProjectile
    5151    {
    5252        public:
    5353            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
    5759        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.
    5967    };
    6068}
Note: See TracChangeset for help on using the changeset viewer.