summaryrefslogtreecommitdiffstats
path: root/src/Game.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.h')
-rw-r--r--src/Game.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Game.h b/src/Game.h
index b5c7ee7..b0e11a1 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -49,11 +49,16 @@ class Game {
this->input = input;
}
+ bool doesCollide(const vmml::vec3f &move) const;
+
void turn(float x, float y);
void run(int delta);
void render();
private:
+ static const float PLAYER_SPEED;
+ static const float PLAYER_RADIUS;
+
Renderer renderer;
boost::shared_ptr<Level> level;