Permalink
Browse files

Kleine Änderungen

  • Loading branch information...
1 parent d070f62 commit b3609bc63d007d258aa06d0c3164bc1c91c2681b @garet12 garet12 committed May 4, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/game/InputHandler.java
@@ -7,8 +7,7 @@
public class InputHandler implements KeyListener {
public class Key {
- public int presses, absorbs;
- public boolean down, clicked;
+ public boolean down;
public Key() {
InputHandler.this.keys.add(this);
@@ -18,9 +17,6 @@ public void toggle(boolean pressed) {
if (pressed != this.down) {
this.down = pressed;
}
- if (pressed) {
- this.presses++;
- }
}
}

0 comments on commit b3609bc

Please sign in to comment.