From eb4bdc6ada1d25519ec1a2c6e436474a5ceeb809 Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Thu, 6 Nov 2014 14:58:09 +0100 Subject: [PATCH] Remove @Override from Interface implementing methods in Player class. --- src/de/teamteamteam/spacescooter/entity/Player.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/de/teamteamteam/spacescooter/entity/Player.java b/src/de/teamteamteam/spacescooter/entity/Player.java index eae2a7e..541251e 100644 --- a/src/de/teamteamteam/spacescooter/entity/Player.java +++ b/src/de/teamteamteam/spacescooter/entity/Player.java @@ -75,7 +75,6 @@ public class Player extends ShootingEntity implements KeyboardListener { super.remove(); } - @Override public void keyPressed(KeyEvent e) { //spontaneous fire happens here if(e.getKeyCode() == KeyEvent.VK_SPACE) { @@ -83,7 +82,6 @@ public class Player extends ShootingEntity implements KeyboardListener { } } - @Override public void keyReleased(KeyEvent e) { //space up -> reset shot cooldown if(e.getKeyCode() == KeyEvent.VK_SPACE) { @@ -91,7 +89,7 @@ public class Player extends ShootingEntity implements KeyboardListener { } } - @Override public void keyTyped(KeyEvent e) {} + }