Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 18, 2019, 4:04:33 PM (5 years ago)
Author:
pomselj
Message:

oxw file cleaned up

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BallProjectile.h

    r12281 r12310  
    5454            void Bounce(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs);
    5555            virtual void setMaterial(const std::string& material) override;
     56            virtual void tick(float dt) override;
     57            void setSpeed(float speed);
     58
    5659
    5760        protected:
     
    6366            void changeTexture();
    6467           
     68            float speed_; //!< The speed (in x-direction) of the ball.
     69            float fieldWidth_; //!< The width of the playing field.
     70            float fieldHeight_; //!< The height of the playing field.
    6571            unsigned int textureIndex_; //!< The current index of the texture. (i.e. the index of the currently displayed texture)
    6672            unsigned int maxTextureIndex_; //!< The maximal index.
Note: See TracChangeset for help on using the changeset viewer.