blob: 0bb0eea65ae660672a0c3fd051bbeaf50cc3833a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include <iostream>
#include <string>
#include <SFML/Window.hpp>
#include "../../View/MainWindow.hpp"
#include "../../Model/Game.hpp"
#include "../../Helpers/Keyboard.hpp"
#include <SFML/Window/Keyboard.hpp>
class SFMLController{
private:
MainWindow m_MainWindow;
Game m_game;
public:
SFMLController();
~SFMLController();
kbdh::Direction waitArrowKeyPress();
void run();
};
|