Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 3, 2007, 11:06:43 PM (17 years ago)
Author:
rgrieder
Message:
 
File:
1 edited

Legend:

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

    r157 r159  
    4444        virtual bool initialise();
    4545
    46         void setThrust(const Real);
     46        void setMainThrust(const Real);
    4747        void setSideThrust(const Real);
     48  void setYThrust(const Real);
    4849        void turnUpAndDown(const Radian&);
    4950        void turnLeftAndRight(const Radian&);
     51
     52  SceneNode* getRootNode();
     53  Vector3 getSpeed();
    5054
    5155        Bullet* fire();
     
    5559protected:
    5660
     61protected:
     62        SceneManager *sceneMgr_;
     63        SceneNode *rootNode_;
     64        Entity *shipEntity_;
    5765
    58 public:
    59 
    60 
    61 protected:
    62         SceneManager *SceneMgr_;
    63         SceneNode *RootNode_;
    64         Entity *ShipEntity_;
    65 
    66         Vector3 currentSpeed_;
    67         float CurrentThrust_;
    68   float CurrentSideThrust_;
    69   float baseThrust_;
     66        Vector3 currentSpeed_;  // relative to space
     67        Vector3 currentThrust_; // relative to the ship
     68  Real baseThrust_;
    7069        int objectCounter_;
    7170        Vector3 bulletSpeed_;
Note: See TracChangeset for help on using the changeset viewer.