| 80 | } |
| 81 | |
| 82 | void loadConfig() |
| 83 | { |
| 84 | const std::string fileName = "HopsonCraft.conf"; |
| 85 | std::ifstream inFile (fileName); |
| 86 | |
| 87 | if(inFile.is_open()) |
| 88 | { |
| 89 | Singleton<Config>::get().loadFromStream(fileName, inFile); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | |
| 94 | void runGame() |
no test coverage detected