Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 28, 2008, 3:05:17 AM (16 years ago)
Author:
landauf
Message:

added spaceship

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/ControllableEntity.h

    r2019 r2024  
    5757                { return this->bDestroyWhenPlayerLeft_; }
    5858
    59             virtual void moveFrontBack(float value) {}
    60             virtual void moveRightLeft(float value) {}
    61             virtual void moveUpDown(float value) {}
     59            virtual void moveFrontBack(const Vector2& value) {}
     60            virtual void moveRightLeft(const Vector2& value) {}
     61            virtual void moveUpDown(const Vector2& value) {}
    6262
    63             virtual void rotateYaw(float value) {}
    64             virtual void rotatePitch(float value) {}
    65             virtual void rotateRoll(float value) {}
     63            virtual void rotateYaw(const Vector2& value) {}
     64            virtual void rotatePitch(const Vector2& value) {}
     65            virtual void rotateRoll(const Vector2& value) {}
    6666
    6767            virtual void fire() {}
     
    108108                { this->acceleration_.x = x; this->acceleration_.y = y; this->acceleration_.z = z; }
    109109
     110            inline Camera* getCamera() const
     111                { return this->camera_; }
     112            inline OverlayGroup* getHUD() const
     113                { return this->hud_; }
     114
    110115        protected:
    111116            virtual void startLocalControl();
     
    117122            inline bool isLocallyControlled() const
    118123                { return this->bControlled_; }
     124
     125            Vector3 acceleration_;
    119126
    120127        private:
     
    136143
    137144            Vector3 velocity_;
    138             Vector3 acceleration_;
    139145
    140146            bool bControlled_;
Note: See TracChangeset for help on using the changeset viewer.