summaryrefslogtreecommitdiff
path: root/src/Controllers/ConsoleController/ConsoleController.hpp
blob: f2c19b8eb71b6de90c27fb904dbded540516f285 (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
27
#ifndef DEF_CTCONSOLE
#define DEF_CTCONSOLE

/* CTConsole.hpp
 * Defines the class CTConsole
 * CTConsole is a controller which displays a game in a terminal
 * Creators : krilius, manzerbredes
 * Date : 29/04/2915 */

#include <iostream>
#include "../../Helpers/Keyboard.hpp"
#include "../../Model/Game.hpp"

class ConsoleController
{
	private:

		Game m_game;
		kbdh::Direction waitArrowKeyPress();
	public:
		ConsoleController();
		~ConsoleController();
		void run();
		void clearScreen();
};

#endif