Changeset 11715 for code/trunk/src/modules
- Timestamp:
- Jan 7, 2018, 9:16:52 PM (7 years ago)
- Location:
- code/trunk/src/modules
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/dodgerace/DodgeRace.cc
r11356 r11715 228 228 int score = this->getPoints(); 229 229 if(score > Highscore::getInstance().getHighestScoreOfGame("Dodge Race")) 230 Highscore::getInstance().storeHighscore("Dodge Race",score );230 Highscore::getInstance().storeHighscore("Dodge Race",score,this->getPlayer()->getPlayer()); 231 231 232 232 } -
code/trunk/src/modules/invader/Invader.cc
r11356 r11715 192 192 int score = this->getPoints(); 193 193 if(score > Highscore::getInstance().getHighestScoreOfGame("Orxonox Arcade")) 194 Highscore::getInstance().storeHighscore("Orxonox Arcade",score );194 Highscore::getInstance().storeHighscore("Orxonox Arcade",score,this->getPlayer()->getPlayer()); 195 195 196 196 } -
code/trunk/src/modules/jump/Jump.cc
r11356 r11715 315 315 int score = this->getScore(this->getPlayer()); 316 316 if(score > Highscore::getInstance().getHighestScoreOfGame("Jump")) 317 Highscore::getInstance().storeHighscore("Jump",score );317 Highscore::getInstance().storeHighscore("Jump",score,this->getPlayer()); 318 318 319 319 } -
code/trunk/src/modules/tetris/Tetris.cc
r11356 r11715 331 331 int score = this->getScore(this->getPlayer()); 332 332 if(score > Highscore::getInstance().getHighestScoreOfGame("Tetris")) 333 Highscore::getInstance().storeHighscore("Tetris",score );333 Highscore::getInstance().storeHighscore("Tetris",score,this->getPlayer()); 334 334 335 335 } -
code/trunk/src/modules/towerdefense/TowerDefense.cc
r11356 r11715 201 201 int score = this->getWaveNumber(); 202 202 if(score > Highscore::getInstance().getHighestScoreOfGame("Tower Defense")) 203 Highscore::getInstance().storeHighscore("Tower Defense",score );203 Highscore::getInstance().storeHighscore("Tower Defense",score,this->getPlayer()); 204 204 205 205 }
Note: See TracChangeset
for help on using the changeset viewer.