summaryrefslogtreecommitdiff
path: root/src/game/GameController.h
blob: c2c578d3cb6c71e135c47606e1faece9eb0ba3dd (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
28
29
30
31
32
#ifndef GAMECONTROLLER_H
#define GAMECONTROLLER_H

#include <queue>
#include "GameView.h"
#include "GameModel.h"
#include "interface/Point.h"
#include "simulation/Simulation.h"
#include "search/SearchController.h"

using namespace std;

class GameModel;
class GameView;
class GameController
{
private:
	//Simulation * sim;
	GameView * gameView;
	GameModel * gameModel;
	SearchController * search;
public:
	GameController();
	~GameController();
	GameView * GetView();
	void DrawPoints(queue<ui::Point*> & pointQueue);
	void Tick();
	void SetPaused(bool pauseState);
	void OpenSearch();
};

#endif // GAMECONTROLLER_H