on commence l'interface là ouais
This commit is contained in:
21
src/GraphicalUI/GraphApp.h
Normal file
21
src/GraphicalUI/GraphApp.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "AppMenus/AppMenu.h"
|
||||
#include "Settings.h"
|
||||
|
||||
#include <stack>
|
||||
#include <memory>
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
|
||||
class GraphApp {
|
||||
private:
|
||||
std::shared_ptr<Settings> settings;
|
||||
std::shared_ptr<std::stack<AppMenu>> menuStack;
|
||||
std::shared_ptr<sf::RenderWindow> window;
|
||||
|
||||
public:
|
||||
GraphApp();
|
||||
|
||||
void startApp();
|
||||
};
|
||||
Reference in New Issue
Block a user