summaryrefslogtreecommitdiffhomepage
path: root/View.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-05-15 15:37:59 +0200
committerAki <please@ignore.pl>2022-05-15 15:37:59 +0200
commit345bb237a7f682670a6107ae75afd948cc1f6ab6 (patch)
treefd4d2982d33c837bd7c4079e41434bbbf3ec8f8a /View.h
parent1b61e9b2b8c3b2218ec5a908a547180a642719e6 (diff)
downloadderelict-345bb237a7f682670a6107ae75afd948cc1f6ab6.zip
derelict-345bb237a7f682670a6107ae75afd948cc1f6ab6.tar.gz
derelict-345bb237a7f682670a6107ae75afd948cc1f6ab6.tar.bz2
Separated Wreck from Killmail
Diffstat (limited to 'View.h')
-rw-r--r--View.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/View.h b/View.h
index 8e247d1..1928726 100644
--- a/View.h
+++ b/View.h
@@ -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;