Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/main_reto/include/OrxonoxShip.h @ 135

Last change on this file since 135 was 133, checked in by rgrieder, 17 years ago
File size: 677 bytes
Line 
1#ifndef __OrxonoxShip__
2#define __OrxonoxShip__
3
4#include "Ogre.h"
5#include "Bullet.h"
6
7using namespace Ogre;
8
9class OrxonoxShip
10{
11public:
12        Vector3 speed;
13        float thrust, sideThrust, baseThrust;
14        Vector3 bulletSpeed;
15
16        OrxonoxShip(SceneManager*, SceneNode*);
17        virtual ~OrxonoxShip();
18
19        virtual bool initialise();
20
21        void setThrust(const Real);
22        void setSideThrust(const Real);
23        void setYaw(const Radian);
24        void setPitch(const Radian);
25        void setRoll(const Radian);
26
27        Real getThrust();
28
29        Bullet* fire();
30
31        bool tick(unsigned long, float);
32
33protected:
34        SceneManager *mSceneMgr;
35        SceneNode *mRootNode;
36        Entity *mShip;
37
38        int n;
39
40};
41
42
43#endif
Note: See TracBrowser for help on using the repository browser.