From 573bf36b3852e934c8d1b23d26e7828dd3e2cafc Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 19 Apr 2023 23:56:15 +0200 Subject: Extracted chunk of user interaction to own Controller This also introduced Mouse and a simple error of dragging box always appearing during pause (or in scenario editor). This can be fixed via pause update in Battle class. --- engine/include/kurator/engine/Point.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engine/include') diff --git a/engine/include/kurator/engine/Point.h b/engine/include/kurator/engine/Point.h index 3dc0c8b..4b352d6 100644 --- a/engine/include/kurator/engine/Point.h +++ b/engine/include/kurator/engine/Point.h @@ -21,6 +21,8 @@ struct Point Point operator+(const Point& other) const; Point subtract(const Point& other) const; Point subtract(double _x, double _y) const; + bool operator==(const Point& other) const; + bool operator!=(const Point& other) const; }; -- cgit v1.1