summaryrefslogtreecommitdiff
path: root/src/game/GameController.h
blob: d9755a1b6a78599f7ad041ea1e35fbd148adcb93 (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
#ifndef GAMECONTROLLER_H
#define GAMECONTROLLER_H

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

using namespace std;

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

#endif // GAMECONTROLLER_H