summaryrefslogtreecommitdiff
path: root/src/game/GameView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameView.cpp')
-rw-r--r--src/game/GameView.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/GameView.cpp b/src/game/GameView.cpp
index 5118d17..d6f519c 100644
--- a/src/game/GameView.cpp
+++ b/src/game/GameView.cpp
@@ -564,6 +564,11 @@ void GameView::SetSample(SimulationSample sample)
this->sample = sample;
}
+void GameView::SetHudEnable(bool hudState)
+{
+ showHud = hudState;
+}
+
ui::Point GameView::GetMousePosition()
{
return mousePosition;