summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-14 16:55:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-14 18:37:50 +0300
commit13642a6cddd8657ec84a2bfa94c6ac7d34545dba (patch)
treecefec154fe5b6ec59990c4ef5cfe67eba4a484e6 /src/game.h
parenteaaafe3312a361e332d495ee68451e424d90a19d (diff)
downloadmanaverse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.gz
manaverse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.bz2
manaverse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.xz
manaverse-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.zip
Add support for on screen joystick for moving.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h
index 59fa68012..353729091 100644
--- a/src/game.h
+++ b/src/game.h
@@ -114,6 +114,8 @@ class Game final
bool getValidSpeed() const A_WARN_UNUSED
{ return mValidSpeed; }
+ void moveInDirection(const unsigned char direction);
+
static bool createScreenshot();
static bool saveScreenshot(SDL_Surface *const screenshot);