Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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