aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ch/epfl/xblast/client/KeyboardEventHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ch/epfl/xblast/client/KeyboardEventHandler.java b/src/ch/epfl/xblast/client/KeyboardEventHandler.java
index a0d3848..2060959 100644
--- a/src/ch/epfl/xblast/client/KeyboardEventHandler.java
+++ b/src/ch/epfl/xblast/client/KeyboardEventHandler.java
@@ -37,7 +37,7 @@ public class KeyboardEventHandler extends KeyAdapter {
37 * @param e event (pressed key) 37 * @param e event (pressed key)
38 */ 38 */
39 @Override 39 @Override
40 public void keyTyped(KeyEvent e) { 40 public void keyPressed(KeyEvent e) {
41 PlayerAction act = this.playerActionMap.get(e.getKeyCode()); 41 PlayerAction act = this.playerActionMap.get(e.getKeyCode());
42 42
43 if (Objects.nonNull(act)) 43 if (Objects.nonNull(act))