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
RevLine 
[126]1#ifndef __OrxonoxShip__
2#define __OrxonoxShip__
3
4#include "Ogre.h"
5
6using namespace Ogre;
7
[127]8class OrxonoxShip
[126]9{
10public:
[127]11        OrxonoxShip(SceneManager*, SceneNode*);
[126]12        virtual ~OrxonoxShip();
13
14        virtual bool initialise();
15
[128]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
[126]24protected:
[127]25        SceneManager *mSceneMgr;
26        SceneNode *mRootNode;
27        Entity *mShip;
[128]28
29        Vector3 speed;
30        float thrust, sideThrust, baseThrust;
[126]31};
32
33
34#endif
Note: See TracBrowser for help on using the repository browser.