aboutsummaryrefslogtreecommitdiff
path: root/View.h
diff options
context:
space:
mode:
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 58dc33d..ef9e937 100644
--- a/View.h
+++ b/View.h
@@ -5,12 +5,11 @@
#include "Color.h"
#include "Rectangle.h"
-
-class ViewController;
+#include "ViewController.h"
class View {
public:
- View(ViewController & vc);
+ View(Museum & m);
virtual ~View();
public:
@@ -27,7 +26,7 @@ public:
bool open = true;
private:
- ViewController & controller;
+ ViewController controller;
private:
unsigned int width = 0, height = 0;