summaryrefslogtreecommitdiffhomepage
path: root/View.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-05-21 11:55:08 +0200
committerAki <please@ignore.pl>2022-05-21 11:55:08 +0200
commit7863e4caa1d07aef348a437fe0a662db68fd7ac3 (patch)
treebf52dfa7a7c45be1d1a696f5bf7c0c3f90beba68 /View.h
parentde8d7a812c4da9f0375dc47626c0e836ba728207 (diff)
downloadderelict-7863e4caa1d07aef348a437fe0a662db68fd7ac3.zip
derelict-7863e4caa1d07aef348a437fe0a662db68fd7ac3.tar.gz
derelict-7863e4caa1d07aef348a437fe0a662db68fd7ac3.tar.bz2
Added naive Timeline
Diffstat (limited to 'View.h')
-rw-r--r--View.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/View.h b/View.h
index e700bb0..48c5491 100644
--- a/View.h
+++ b/View.h
@@ -6,12 +6,13 @@
#include "Grid.h"
#include "Label.h"
+#include "Timeline.h"
class View
{
public:
- explicit View(std::vector<Grid> grids);
+ View(std::vector<Grid> grids, Timeline timeline);
virtual ~View();
void update(float dt);
void draw() const;
@@ -23,4 +24,5 @@ private:
float m_timer;
Texture2D m_texture;
Label* m_active;
+ Timeline m_timeline;
};