diff options
author | Aki <please@ignore.pl> | 2022-05-15 15:37:59 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-05-15 15:37:59 +0200 |
commit | 345bb237a7f682670a6107ae75afd948cc1f6ab6 (patch) | |
tree | fd4d2982d33c837bd7c4079e41434bbbf3ec8f8a /View.h | |
parent | 1b61e9b2b8c3b2218ec5a908a547180a642719e6 (diff) | |
download | derelict-345bb237a7f682670a6107ae75afd948cc1f6ab6.zip derelict-345bb237a7f682670a6107ae75afd948cc1f6ab6.tar.gz derelict-345bb237a7f682670a6107ae75afd948cc1f6ab6.tar.bz2 |
Separated Wreck from Killmail
Diffstat (limited to 'View.h')
-rw-r--r-- | View.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,23 +1,22 @@ #pragma once -#include <memory> #include <vector> #include <raylib.h> +#include "Grid.h" #include "Label.h" -#include "Source.h" class View { public: - explicit View(std::unique_ptr<Source> source); + explicit View(std::vector<Grid> grids); void update(float dt); void draw() const; private: Camera m_camera; - std::unique_ptr<Source> m_source; + std::vector<Grid> m_grids; std::vector<Label> m_labels; int m_grid; float m_timer; |