summaryrefslogtreecommitdiffhomepage
path: root/View.h
blob: 1928726d1a3e0795a879f7f39ff31325a7db5899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <vector>

#include <raylib.h>

#include "Grid.h"
#include "Label.h"


class View
{
public:
    explicit View(std::vector<Grid> grids);
    void update(float dt);
    void draw() const;
private:
    Camera m_camera;
    std::vector<Grid> m_grids;
    std::vector<Label> m_labels;
    int m_grid;
    float m_timer;
};