Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Highscore_HS16/src/libraries/core/Highscore.cc @ 11304

Last change on this file since 11304 was 11304, checked in by kappenh, 7 years ago

try to save highscore

File size: 556 bytes
Line 
1#include "Highscore.h"
2
3#include <vector>
4#include "core/CoreIncludes.h"
5#include "core/config/ConfigValueIncludes.h"
6
7
8namespace orxonox
9{
10
11        RegisterClassNoArgs(Highscore);
12
13        Highscore::Highscore()
14    {
15        RegisterObject(Highscore);
16        this->setConfigValues();
17    }
18
19    void Highscore::setConfigValues()
20    {
21       
22                SetConfigValue(name_, "Orxonox").description("The name of the game");
23    }
24
25    /* static */ std::string Highscore::getName(){
26        std::string result;
27        result = Highscore::name_;
28        return result;
29    }
30}
Note: See TracBrowser for help on using the repository browser.