aboutsummaryrefslogtreecommitdiff
path: root/ViewController.h
diff options
context:
space:
mode:
Diffstat (limited to 'ViewController.h')
-rw-r--r--ViewController.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ViewController.h b/ViewController.h
index f05d62b..d50dfb1 100644
--- a/ViewController.h
+++ b/ViewController.h
@@ -7,6 +7,7 @@
#include "KeyboardCode.h"
#include "MouseCode.h"
#include "Rectangle.h"
+#include "XY.h"
class View;
class Museum;
@@ -32,7 +33,7 @@ private:
void update_quadtree_recursive(QuadTreeCollisionChecker * tree);
private:
- void draw_pathfinding_dot(std::pair<unsigned int, unsigned int>, const Color &);
+ void draw_pathfinding_dot(const XY &, const Color &);
Rectangle center(Rectangle);
private:
@@ -52,6 +53,6 @@ private:
unsigned int pathfinding_size = scale - 4;
private:
- std::pair<float, float> mouse_pos = { 0, 0 };
+ XY mouse_pos;
};