- Timestamp:
- Oct 23, 2017, 2:22:13 PM (7 years ago)
- Location:
- code/branches/HUD_HS16
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/HUD_HS16
- Property svn:mergeinfo changed
-
code/branches/HUD_HS16/src/modules/towerdefense/TowerDefense.cc
r11083 r11497 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.