summaryrefslogtreecommitdiff
path: root/src/game/GameView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.h')
-rw-r--r--src/game/GameView.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game/GameView.h b/src/game/GameView.h
index 9843743..85f60ed 100644
--- a/src/game/GameView.h
+++ b/src/game/GameView.h
@@ -71,12 +71,21 @@ private:
ui::Point selectPoint1;
ui::Point selectPoint2;
+ ui::Point mousePosition;
+
Thumbnail * clipboardThumb;
Thumbnail * stampThumb;
+ Particle sample;
+
void changeColour();
public:
GameView();
+
+ //Breaks MVC, but any other way is going to be more of a mess.
+ ui::Point GetMousePosition();
+ void SetSample(Particle sample);
+
void AttachController(GameController * _c){ c = _c; }
void NotifyRendererChanged(GameModel * sender);
void NotifySimulationChanged(GameModel * sender);