Last change
on this file since 1875 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
|
Rev | Line | |
---|
[1505] | 1 | #ifndef _RotatingProjectile_H__ |
---|
| 2 | #define _RotatingProjectile_H__ |
---|
| 3 | |
---|
[1552] | 4 | #include "OrxonoxPrereqs.h" |
---|
[1505] | 5 | #include "util/Math.h" |
---|
[1552] | 6 | #include "BillboardProjectile.h" |
---|
[1505] | 7 | |
---|
| 8 | namespace orxonox |
---|
| 9 | { |
---|
[1552] | 10 | class _OrxonoxExport RotatingProjectile : public BillboardProjectile |
---|
[1505] | 11 | { |
---|
| 12 | public: |
---|
| 13 | RotatingProjectile(SpaceShip* owner = 0); |
---|
| 14 | virtual ~RotatingProjectile(); |
---|
| 15 | void setConfigValues(); |
---|
[1747] | 16 | void colourChanged(); |
---|
[1505] | 17 | virtual void tick(float dt); |
---|
[1558] | 18 | virtual void changedVisibility(); |
---|
[1505] | 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.