Last change
on this file since 10255 was
1505,
checked in by rgrieder, 17 years ago
|
f* svn: It doesn't even inform you if you attempt to set a non existing property. It is svn:eol-style and not eol-style when using the command by the way…
|
-
Property svn:eol-style set to
native
|
File size:
829 bytes
|
Line | |
---|
1 | #ifndef _RotatingProjectile_H__ |
---|
2 | #define _RotatingProjectile_H__ |
---|
3 | |
---|
4 | #include "../OrxonoxPrereqs.h" |
---|
5 | #include "util/Math.h" |
---|
6 | #include "Projectile.h" |
---|
7 | |
---|
8 | namespace orxonox |
---|
9 | { |
---|
10 | class _OrxonoxExport RotatingProjectile : public Projectile/*, public network::Synchronisable*/ |
---|
11 | { |
---|
12 | public: |
---|
13 | RotatingProjectile(SpaceShip* owner = 0); |
---|
14 | virtual ~RotatingProjectile(); |
---|
15 | void setConfigValues(); |
---|
16 | virtual void tick(float dt); |
---|
17 | virtual bool create(){return Projectile::create();} |
---|
18 | |
---|
19 | private: |
---|
20 | ColourValue colour_; |
---|
21 | BillboardSet rotatingBillboard1_; |
---|
22 | BillboardSet rotatingBillboard2_; |
---|
23 | Ogre::SceneNode* rotatingNode1_; |
---|
24 | Ogre::SceneNode* rotatingNode2_; |
---|
25 | float time_; |
---|
26 | }; |
---|
27 | } |
---|
28 | |
---|
29 | #endif /* _RotatingProjectile_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.