Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN_test/src/orxonox/objects/Projectile.h @ 757

Last change on this file since 757 was 756, checked in by rgrieder, 17 years ago
  • project name changed to FICN_test
  • adapted header file inclusion
File size: 802 bytes
RevLine 
[643]1#ifndef _Projectile_H__
2#define _Projectile_H__
3
[708]4#include "../OrxonoxPrereqs.h"
5
[643]6#include "WorldEntity.h"
[756]7#include "../tools/BillboardSet.h"
8#include "../tools/Timer.h"
[643]9
10namespace orxonox
11{
[708]12    class SpaceShip; // Forward declaration
13
[729]14    class _OrxonoxExport Projectile : public WorldEntity
[643]15    {
16        public:
17            Projectile(SpaceShip* owner = 0);
[646]18            virtual ~Projectile();
[697]19            void setConfigValues();
[643]20            void destroyObject();
[646]21            virtual void tick(float dt);
[643]22
23        private:
24            SpaceShip* owner_;
25            BillboardSet billboard_;
26            float speed_;
27            float lifetime_;
28            Timer<Projectile> destroyTimer_;
29    };
[729]30    ExportClass(Projectile, Orxonox);
[643]31}
32
[673]33#endif /* _Projectile_H__ */
Note: See TracBrowser for help on using the repository browser.