summaryrefslogtreecommitdiff
path: root/Player.h
diff options
context:
space:
mode:
authorLuke Bratch <l_bratch@yahoo.co.uk>2010-12-03 12:23:41 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2010-12-03 12:23:41 +0000
commitbc01a352740c34e5f2f83efbee14e0bc9ef28ba5 (patch)
tree18fd777af7948a3caecc1c63b8a2173a0ad5d4bc /Player.h
parent2822267d7b38756af7a27e7169c08dddca4f3a2c (diff)
Implement sprinting
Diffstat (limited to 'Player.h')
-rw-r--r--Player.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Player.h b/Player.h
index 95e662b..ad08b56 100644
--- a/Player.h
+++ b/Player.h
@@ -12,8 +12,14 @@ class Player : public Creature {
// Kill the player, in the game sense
void kill();
+ // Enable or disable sprinting
+ void setSprint(bool s);
+ bool getSprint();
+
+ int getXVel();
+
private:
- // Nothing yet!
+ bool sprint;
};
#endif