Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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