Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11511


Ignore:
Timestamp:
Oct 30, 2017, 1:27:43 PM (7 years ago)
Author:
merholzl
Message:

second part XMLport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxShip.h

    r11503 r11511  
    6161            //return to main menu if game has ended.
    6262            virtual void rotateRoll(const Vector2& value) override;
    63 
     63            inline void setSpeed( float speed )
     64                { this->speed = speed; }
     65            inline void getSpeed( )
     66                { return this->speed; }
     67            inline void setGravity( float gravity )
     68                { this->gravity = gravity; }
     69            inline void getGravity()
     70                { return this->gravity; }
     71            inline void setSpeed( float UpwardThrust )
     72                { this->UpwardThrust = UpwardThrust; }
     73            inline void getSpeed()
     74                { return this->UpwardThrust; }
    6475            virtual void updateLevel();
    6576
Note: See TracChangeset for help on using the changeset viewer.