Changeset 11339 for code/branches/Presentation_HS16/src/modules/tetris
- Timestamp:
- Dec 14, 2016, 1:39:14 PM (8 years ago)
- Location:
- code/branches/Presentation_HS16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Presentation_HS16
- 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/branches/Presentation_HS16/src/modules/tetris/Tetris.cc
r11083 r11339 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.