Changeset 11315 for code/branches/Highscore_HS16/src/modules
- Timestamp:
- Dec 1, 2016, 3:08:54 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/Highscore_HS16/src/modules/jump/Jump.cc
r11313 r11315 312 312 cleanup(); 313 313 GSLevel::startMainMenu(); 314 orxout() << "Test Highscore" << endl;315 314 if (Highscore::exists()){ 316 orxout() << "exists" << endl; 317 Highscore::getInstance().storeHighscore("player","jump",sectionNumber_ - 2); 315 int score = this->getScore(this->getPlayer()); 316 if(score > Highscore::getInstance().getHighestScoreOfGame("Jump")) 317 Highscore::getInstance().storeHighscore("player","Jump",score); 318 318 319 } 319 320 Deathmatch::end();
Note: See TracChangeset
for help on using the changeset viewer.