- 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/towerdefense/TowerDefense.cc
r11083 r11339 81 81 #include "chat/ChatManager.h" 82 82 #include "core/CoreIncludes.h" 83 #include "Highscore.h" 83 84 84 85 namespace orxonox … … 197 198 void TowerDefense::end() 198 199 { 199 200 if (Highscore::exists()){ 201 int score = this->getWaveNumber(); 202 if(score > Highscore::getInstance().getHighestScoreOfGame("Tower Defense")) 203 Highscore::getInstance().storeHighscore("Tower Defense",score); 204 205 } 200 206 TeamDeathmatch::end(); 201 207 ChatManager::message("Match is over! Gameover!");
Note: See TracChangeset
for help on using the changeset viewer.