summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h
index 22e242c9..9e38f928 100644
--- a/src/game.h
+++ b/src/game.h
@@ -24,8 +24,9 @@
#include <string>
+#include "gui/windowmenu.h"
+
class Map;
-class WindowMenu;
/**
* The main class responsible for running the game. The game starts after you
@@ -73,6 +74,12 @@ class Game
int getCurrentTileWidth() const;
int getCurrentTileHeight() const;
+ /**
+ * Update the key shortcuts in the window menu.
+ */
+ void updateWindowMenuCaptions()
+ { mWindowMenu->updatePopUpCaptions(); }
+
private:
int mLastTarget;
bool mDisconnected;