Changeset 1552 for code/trunk/src/orxonox/objects/Projectile.h
- Timestamp:
- Jun 6, 2008, 5:31:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/Projectile.h
r1505 r1552 33 33 34 34 #include "WorldEntity.h" 35 #include "../tools/BillboardSet.h" 36 #include "../tools/Timer.h" 37 #include "util/Math.h" 35 #include "tools/Timer.h" 38 36 39 37 namespace orxonox … … 42 40 { 43 41 public: 44 Projectile(SpaceShip* owner = 0);45 42 virtual ~Projectile(); 46 43 void setConfigValues(); 47 44 void destroyObject(); 48 45 virtual void tick(float dt); 49 virtual bool create(){return WorldEntity::create();}50 void setColour(const ColourValue& colour);51 46 52 47 static float getSpeed() … … 54 49 55 50 protected: 51 Projectile(SpaceShip* owner = 0); 56 52 SpaceShip* owner_; 57 53 58 54 private: 59 BillboardSet billboard_; 55 std::string explosionTemplateName_; 56 std::string smokeTemplateName_; 60 57 static float speed_; 61 58 float lifetime_; 59 float damage_; 62 60 Timer<Projectile> destroyTimer_; 63 61 };
Note: See TracChangeset
for help on using the changeset viewer.