Changeset 11356 for code/trunk/src/modules/tetris
- Timestamp:
- Mar 9, 2017, 3:38:58 PM (8 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/Highscore_HS16 (added) merged: 11226,11233,11235,11245,11254,11265,11267,11304,11313,11315,11324,11326,11333
- Property svn:mergeinfo changed
-
code/trunk/src/modules/tetris/Tetris.cc
r11083 r11356 39 39 40 40 #include "Tetris.h" 41 #include "Highscore.h" 41 42 42 43 #include "core/CoreIncludes.h" … … 327 328 this->player_->stopControl(); 328 329 } 329 330 if (Highscore::exists()){ 331 int score = this->getScore(this->getPlayer()); 332 if(score > Highscore::getInstance().getHighestScoreOfGame("Tetris")) 333 Highscore::getInstance().storeHighscore("Tetris",score); 334 335 } 330 336 this->cleanup(); 331 337
Note: See TracChangeset
for help on using the changeset viewer.