summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.h
blob: affb3894397ef4dd2efd50eb4f02b28a38fdcbb1 (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 UI_GAMEMAINWINDOW_H
#define UI_GAMEMAINWINDOW_H

#include "chronology.hpp"
#include "gfx/gl/camera.h"
#include "gfx/gl/shader.h"
#include "gfx/gl/uiShader.h"
#include "window.h"
#include <cstddef>

class GameState;

class GameMainWindow : public Window {
public:
	GameMainWindow(size_t w, size_t h);

	void tick(TickDuration) override;

	void Refresh(const GameState * gameState) const override;

private:
	UIShader uiShader;
	Shader shader;
	Camera camera;
};

#endif