- Timestamp:
- Oct 23, 2017, 2:56:00 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
r11497 r11499 81 81 #include "chat/ChatManager.h" 82 82 #include "core/CoreIncludes.h" 83 #include "Highscore.h"84 83 85 84 namespace orxonox … … 198 197 void TowerDefense::end() 199 198 { 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 } 199 206 200 TeamDeathmatch::end(); 207 201 ChatManager::message("Match is over! Gameover!");
Note: See TracChangeset
for help on using the changeset viewer.