Last change
on this file since 1479 was
1479,
checked in by landauf, 16 years ago
|
added something like an AI… or at least something thats pretty close to what we call AI. it's not that clever, sometimes it does some sign errors. but hey, I don't care, at least it makes the game look more living.
|
File size:
757 bytes
|
Rev | Line | |
---|
[1479] | 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 |
---|
| 11 | { |
---|
| 12 | public: |
---|
| 13 | RotatingProjectile(SpaceShip* owner = 0); |
---|
| 14 | virtual ~RotatingProjectile(); |
---|
| 15 | void setConfigValues(); |
---|
| 16 | virtual void tick(float dt); |
---|
| 17 | |
---|
| 18 | private: |
---|
| 19 | ColourValue colour_; |
---|
| 20 | BillboardSet rotatingBillboard1_; |
---|
| 21 | BillboardSet rotatingBillboard2_; |
---|
| 22 | Ogre::SceneNode* rotatingNode1_; |
---|
| 23 | Ogre::SceneNode* rotatingNode2_; |
---|
| 24 | float time_; |
---|
| 25 | }; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | #endif /* _RotatingProjectile_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.