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, 17 years ago
File size: 602 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:
[130]11        Vector3 speed;
12        float thrust, sideThrust, baseThrust;
13
[127]14        OrxonoxShip(SceneManager*, SceneNode*);
[126]15        virtual ~OrxonoxShip();
16
17        virtual bool initialise();
18
[128]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
[130]25        Real getThrust();
26
[128]27        bool tick(unsigned long, float);
28
[126]29protected:
[127]30        SceneManager *mSceneMgr;
31        SceneNode *mRootNode;
32        Entity *mShip;
[128]33
[126]34};
35
36
37#endif
Note: See TracBrowser for help on using the repository browser.