Last change
on this file since 2226 was
1747,
checked in by landauf, 16 years ago
|
merged core3 back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
824 bytes
|
Line | |
---|
1 | #ifndef _RotatingProjectile_H__ |
---|
2 | #define _RotatingProjectile_H__ |
---|
3 | |
---|
4 | #include "OrxonoxPrereqs.h" |
---|
5 | #include "util/Math.h" |
---|
6 | #include "BillboardProjectile.h" |
---|
7 | |
---|
8 | namespace orxonox |
---|
9 | { |
---|
10 | class _OrxonoxExport RotatingProjectile : public BillboardProjectile |
---|
11 | { |
---|
12 | public: |
---|
13 | RotatingProjectile(SpaceShip* owner = 0); |
---|
14 | virtual ~RotatingProjectile(); |
---|
15 | void setConfigValues(); |
---|
16 | void colourChanged(); |
---|
17 | virtual void tick(float dt); |
---|
18 | virtual void changedVisibility(); |
---|
19 | |
---|
20 | private: |
---|
21 | ColourValue colour_; |
---|
22 | BillboardSet rotatingBillboard1_; |
---|
23 | BillboardSet rotatingBillboard2_; |
---|
24 | Ogre::SceneNode* rotatingNode1_; |
---|
25 | Ogre::SceneNode* rotatingNode2_; |
---|
26 | float time_; |
---|
27 | }; |
---|
28 | } |
---|
29 | |
---|
30 | #endif /* _RotatingProjectile_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.