diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-12-26 03:19:49 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-12-26 03:19:49 +0100 |
commit | 5dc3e727e0fc470d344da8b18c3588104585496f (patch) | |
tree | 66f22567f013753b7d72e149ce3a66ddd71cec46 /src/Game.h | |
parent | d1c909ca57b1685d8c4303d1ff9018fdb152f889 (diff) | |
download | zoom++-5dc3e727e0fc470d344da8b18c3588104585496f.tar zoom++-5dc3e727e0fc470d344da8b18c3588104585496f.zip |
Added collision detection
Diffstat (limited to 'src/Game.h')
-rw-r--r-- | src/Game.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |