summaryrefslogtreecommitdiffhomepage
path: root/View.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-05-15 18:01:38 +0200
committerAki <please@ignore.pl>2022-05-15 18:01:38 +0200
commite49474fc0dcff041a9fae2857273938481cc9ec9 (patch)
treeeb0dc5b7eceaa2ef9079385bacddd42c7f6c257c /View.h
parent345bb237a7f682670a6107ae75afd948cc1f6ab6 (diff)
downloadderelict-e49474fc0dcff041a9fae2857273938481cc9ec9.zip
derelict-e49474fc0dcff041a9fae2857273938481cc9ec9.tar.gz
derelict-e49474fc0dcff041a9fae2857273938481cc9ec9.tar.bz2
Expanded label rendering
Diffstat (limited to 'View.h')
-rw-r--r--View.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/View.h b/View.h
index 1928726..e259132 100644
--- a/View.h
+++ b/View.h
@@ -12,6 +12,7 @@ class View
{
public:
explicit View(std::vector<Grid> grids);
+ virtual ~View();
void update(float dt);
void draw() const;
private:
@@ -20,4 +21,5 @@ private:
std::vector<Label> m_labels;
int m_grid;
float m_timer;
+ Texture2D m_texture;
};