Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 22, 2014, 3:05:46 PM (10 years ago)
Author:
fvultier
Message:

new items added. improved level generator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickupsFS14/src/modules/jump/JumpScore.h

    r10050 r10074  
    6464            virtual void changedOwner(); //!< Is called when the owner changes.
    6565
     66            void setShowScore(const bool showScore)
     67                { showScore_ = showScore; }
     68
     69            const bool getShowScore() const
     70                { return showScore_; }
     71
     72            void setShowMessages(const bool showMessages)
     73                { showMessages_ = showMessages; }
     74
     75            const bool getShowMessages() const
     76                { return showMessages_; }
     77
     78            void setGameOverText(const std::string& gameOverText)
     79                { this->gameOverText_ = gameOverText; }
     80
     81            const std::string& getGameOverText() const
     82                { return this->gameOverText_; }
     83
    6684        private:
    6785            Jump* owner_; //!< The Jump game that owns this JumpScore.
    6886            WeakPtr<PlayerInfo> player_; //!< Store information about left player permanently.
    6987            WorldSound* scoreSound_;
     88            bool showScore_;
     89            bool showMessages_;
     90            std::string gameOverText_;
    7091
    7192    };
Note: See TracChangeset for help on using the changeset viewer.