summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.h
blob: 09d17d18566989d6225e2ae1882e2dc1e7a5e3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include "chronology.hpp"
#include "gfx/gl/camera.h"
#include "gfx/gl/sceneShader.h"
#include "sceneRenderer.h"
#include "window.h"
#include <cstddef>

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

	void tick(TickDuration) override;

	void render() const override;

private:
	const SceneShader & getShader() const override;
	SceneShader shader;
	Camera camera;
};