Changeset 10074 for code/branches/pickupsFS14/src/modules/jump/JumpScore.h
- Timestamp:
- May 22, 2014, 3:05:46 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpScore.h
r10050 r10074 64 64 virtual void changedOwner(); //!< Is called when the owner changes. 65 65 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 66 84 private: 67 85 Jump* owner_; //!< The Jump game that owns this JumpScore. 68 86 WeakPtr<PlayerInfo> player_; //!< Store information about left player permanently. 69 87 WorldSound* scoreSound_; 88 bool showScore_; 89 bool showMessages_; 90 std::string gameOverText_; 70 91 71 92 };
Note: See TracChangeset
for help on using the changeset viewer.