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, 2 insertions, 3 deletions
diff --git a/src/Game.h b/src/Game.h
index a81c7f5..d935b7c 100644
--- a/src/Game.h
+++ b/src/Game.h
@@ -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;
};