summaryrefslogtreecommitdiffhomepage
path: root/View.h
diff options
context:
space:
mode:
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;
};