Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 3, 2007, 6:20:21 PM (12 years ago)
Author:
rgrieder
Message:
  • added a few comments
  • converted RunManager and OrxonoxShip to match the style guide
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/main_reto/include/orxonox_ship.h

    r146 r152  
    3939{
    4040public:
    41         Vector3 speed;
    42         float thrust, sideThrust, baseThrust;
    43         Vector3 bulletSpeed;
    44 
    4541        OrxonoxShip(SceneManager*, SceneNode*);
    4642        virtual ~OrxonoxShip();
     
    5046        void setThrust(const Real);
    5147        void setSideThrust(const Real);
    52         void setYaw(const Radian);
    53         void setPitch(const Radian);
    54         void setRoll(const Radian);
    55 
    56         Real getThrust();
     48        void turnUpAndDown(const Radian&);
     49        void turnLeftAndRight(const Radian&);
    5750
    5851        Bullet* fire();
     
    6053        bool tick(unsigned long, Real);
    6154
    62         SceneNode *mRootNode;
     55protected:
     56
     57
     58public:
     59
    6360
    6461protected:
    65         SceneManager *mSceneMgr;
    66         Entity *mShip;
     62        SceneManager *SceneMgr_;
     63        SceneNode *RootNode_;
     64        Entity *ShipEntity_;
    6765
    68         int n;
     66        Vector3 currentSpeed_;
     67        float CurrentThrust_;
     68  float CurrentSideThrust_;
     69  float baseThrust_;
     70        int objectCounter_;
     71        Vector3 bulletSpeed_;
    6972
    7073};
Note: See TracChangeset for help on using the changeset viewer.