blob: 48c54916e7e50a05da0138e5fc38a74e3b00aeb6 (
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
|
#pragma once
#include <vector>
#include <raylib.h>
#include "Grid.h"
#include "Label.h"
#include "Timeline.h"
class View
{
public:
View(std::vector<Grid> grids, Timeline timeline);
virtual ~View();
void update(float dt);
void draw() const;
private:
Camera m_camera;
std::vector<Grid> m_grids;
std::vector<Label> m_labels;
unsigned int m_grid;
float m_timer;
Texture2D m_texture;
Label* m_active;
Timeline m_timeline;
};
|