Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11635


Ignore:
Timestamp:
Dec 4, 2017, 4:13:24 PM (7 years ago)
Author:
merholzl
Message:

small changes

Location:
code/branches/FlappyOrx_HS17/src/modules/flappyorx
Files:
2 edited

Legend:

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

    r11631 r11635  
    138138
    139139    int FlappyOrxShip::timeUntilRespawn(){
    140         return 1-time(0)+deathTime;
     140        return 2-time(0)+deathTime;
    141141    }
    142142
     
    170170
    171171        deathTime = time(0);
    172 
    173         //orxout()<<"death time: "<<deathTime<<std::endl;
    174172        Vector3 pos = getPosition();
    175173        pos.x = 0;
  • code/branches/FlappyOrx_HS17/src/modules/flappyorx/FlappyOrxShip.h

    r11624 r11635  
    5555            // Starts or stops fireing
    5656            virtual void boost(bool bBoost) override;
    57 
    58             //return to main menu if game has ended.
    5957           
    6058            inline void  setSpeedBase(float speedBase){ getGame()->setSpeedBase(speedBase);}
     
    7371            inline float getGravity(){ return this->gravity; }
    7472
    75             inline void setSpeed( float speed ){ orxout() << "speed set: " << speed << endl; this->speed = speed; }
     73            inline void setSpeed( float speed ){ this->speed = speed; }
    7674            inline float getSpeed( ){ return this->speed; }
    7775           
Note: See TracChangeset for help on using the changeset viewer.