- Timestamp:
- Apr 18, 2019, 4:04:33 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BallProjectile.h
r12281 r12310 54 54 void Bounce(WorldEntity* otherObject, btManifoldPoint& contactPoint, const btCollisionShape* cs); 55 55 virtual void setMaterial(const std::string& material) override; 56 virtual void tick(float dt) override; 57 void setSpeed(float speed); 58 56 59 57 60 protected: … … 63 66 void changeTexture(); 64 67 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. 65 71 unsigned int textureIndex_; //!< The current index of the texture. (i.e. the index of the currently displayed texture) 66 72 unsigned int maxTextureIndex_; //!< The maximal index.
Note: See TracChangeset
for help on using the changeset viewer.