diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-12-17 02:14:32 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-12-17 02:14:32 +0100 |
commit | bc797d4c8b5f8a7ac925ca8478dc5960907a81dd (patch) | |
tree | d38e89dd598833240462b6b6047ada7eebb321e6 /src/Game.h | |
parent | ea08fea654b4702a77f623b74137fabc7d6800d8 (diff) | |
download | zoom++-bc797d4c8b5f8a7ac925ca8478dc5960907a81dd.tar zoom++-bc797d4c8b5f8a7ac925ca8478dc5960907a81dd.zip |
Moved Plane to MathUtil; some other tweaks
Diffstat (limited to 'src/Game.h')
-rw-r--r-- | src/Game.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -32,7 +32,6 @@ class Triangle; class Game { public: enum Input { - NONE = 0, FORWARD = (1 << 0), BACKWARD = (1 << 1), LEFT = (1 << 2), @@ -44,7 +43,7 @@ class Game { bool loadLevel(const std::string &name); void setInput(unsigned input) { - this->input = static_cast<Input>(input); + this->input = input; } void run(int delta); @@ -59,7 +58,7 @@ class Game { vmml::vec3f playerPos; vmml::mat4f playerRot; - Input input; + unsigned input; int lightPos; }; |