A bit more source refactoring.
This commit is contained in:
parent
cc3bb171e1
commit
152d4cf037
5 changed files with 17 additions and 29 deletions
4
gui.cpp
4
gui.cpp
|
@ -8,7 +8,7 @@
|
|||
#include <SFML/Audio.hpp>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <fstream>
|
||||
#include "sfmlgui.hpp"
|
||||
#include "sfmlbackend.hpp"
|
||||
#include "builder.hpp"
|
||||
|
||||
using std::string, std::vector;
|
||||
|
@ -52,7 +52,7 @@ void GUI::output(const string msg) {
|
|||
}
|
||||
|
||||
int GUI::main_loop(GameEngine &game, Builder &builder) {
|
||||
auto gui = SFMLGui(game);
|
||||
auto gui = SFMLBackend(game);
|
||||
|
||||
gui.startup();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue