Rev | Line | |
---|
[11304] | 1 | #include "Highscore.h" |
---|
| 2 | |
---|
| 3 | #include <vector> |
---|
| 4 | #include "core/CoreIncludes.h" |
---|
| 5 | #include "core/config/ConfigValueIncludes.h" |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | namespace 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.