Changeset 1502 for code/trunk/src/orxonox/objects/Projectile.h
- Timestamp:
- Jun 1, 2008, 3:54:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/Projectile.h
r1056 r1502 35 35 #include "../tools/BillboardSet.h" 36 36 #include "../tools/Timer.h" 37 #include "util/Math.h" 37 38 38 39 namespace orxonox … … 46 47 void destroyObject(); 47 48 virtual void tick(float dt); 49 virtual bool create(){return WorldEntity::create();} 50 void setColour(const ColourValue& colour); 51 52 static float getSpeed() 53 { return Projectile::speed_; } 54 55 protected: 56 SpaceShip* owner_; 48 57 49 58 private: 50 SpaceShip* owner_;51 59 BillboardSet billboard_; 52 float speed_;60 static float speed_; 53 61 float lifetime_; 54 62 Timer<Projectile> destroyTimer_;
Note: See TracChangeset
for help on using the changeset viewer.