Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11758


Ignore:
Timestamp:
Feb 17, 2018, 11:36:30 PM (7 years ago)
Author:
landauf
Message:

[FlappyOrx_HS17] removed unused variables

Location:
code/branches/Presentation_HS17_merge/src/modules/flappyorx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/Presentation_HS17_merge/src/modules/flappyorx/FlappyOrx.h

    r11757 r11758  
    9292            float tubeOffsetX;
    9393
    94             int upwardThrust;
    95             int gravity;
    96 
    9794            inline void setSpeedBase(float speedBase){ this-> speedBase =  speedBase;}
    9895            inline float  getSpeedBase(){ return speedBase;}
     
    106103
    107104           
    108             bool bEndGame;
    109105            bool bIsDead;
    110106            bool firstGame;
     
    112108            std::queue<float> tubes;                  //Saves Position of Tubes
    113109            std::queue<MovableEntity*> asteroids;   //Stores Asteroids which build up the tubes
    114             float speed = 100;
    115110           
    116111        private:
     
    126121            WeakPtr<FlappyOrxShip> player;
    127122
    128             int level;
    129123            int point;
    130             bool b_combo;
    131124
    132125            const int NUM_ASTEROIDS = 5;
  • code/branches/Presentation_HS17_merge/src/modules/flappyorx/FlappyOrxHUDinfo.cc

    r11755 r11758  
    4444
    4545        this->FlappyOrxGame = nullptr;
    46         this->bShowLives_ = false;
    47         this->bShowLevel_ = true;
    4846        this->bShowPoints_ = false;
    49         this->bShowMultiplier_ = false;
    5047        this->bShowGameOver_ = false;
    51         this->sGameOverMessage_ = "";
    5248    }
    5349
  • code/branches/Presentation_HS17_merge/src/modules/flappyorx/FlappyOrxHUDinfo.h

    r11576 r11758  
    4545            virtual void changedOwner() override;
    4646
    47             inline void setShowLives(bool value)
    48                 { this->bShowLives_ = false; }
    49             inline bool getShowLives() const
    50                 { return this->bShowLives_; }
    51 
    52             inline void setShowLevel(bool value)
    53                 { this->bShowLevel_ = false; }
    54             inline bool getShowLevel() const
    55                 { return this->bShowLevel_; }
    56 
    5747            inline void setShowPoints(bool value)
    5848                { this->bShowPoints_ = value; }
    5949            inline bool getShowPoints() const
    6050                { return this->bShowPoints_; }
    61 
    62             inline void setShowMultiplier(bool value)
    63                 { this->bShowMultiplier_ = false; }
    64             inline bool getShowMultiplier() const
    65                 { return this->bShowMultiplier_; }
    6651
    6752            inline void setShowMessage(bool value){
     
    7762                { return messageID; }
    7863
    79 
    80 
    81 
    8264        private:
    8365            FlappyOrx* FlappyOrxGame;
    84             bool bShowLives_;
    85             bool bShowLevel_;
    8666            bool bShowPoints_;
    87             bool bShowMultiplier_;
    8867            bool bShowGameOver_;
    8968            int messageID;
    90             std::string sGameOverMessage_;
    9169    };
    9270}
  • code/branches/Presentation_HS17_merge/src/modules/flappyorx/FlappyOrxShip.h

    r11755 r11758  
    8585            FlappyOrx* getGame();
    8686            WeakPtr<FlappyOrx> game;
    87             Camera* camera;
    8887            ParticleSpawner* particlespawner_;
    8988            bool isFlapping;
Note: See TracChangeset for help on using the changeset viewer.