From 14a8e469e0c4ef32f8da310e58df9ff7e8daeb5c Mon Sep 17 00:00:00 2001 From: JJTCM Date: Tue, 25 Nov 2014 15:05:18 +0100 Subject: [PATCH] Removed Double Debug Code --- .../teamteamteam/spacescooter/level/Level.java | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/de/teamteamteam/spacescooter/level/Level.java b/src/de/teamteamteam/spacescooter/level/Level.java index fdad64a..966afce 100644 --- a/src/de/teamteamteam/spacescooter/level/Level.java +++ b/src/de/teamteamteam/spacescooter/level/Level.java @@ -1,14 +1,12 @@ package de.teamteamteam.spacescooter.level; -import java.awt.event.KeyEvent; import de.teamteamteam.spacescooter.background.StarBackground; -import de.teamteamteam.spacescooter.control.Keyboard; +import de.teamteamteam.spacescooter.entity.Entity; import de.teamteamteam.spacescooter.entity.Player; import de.teamteamteam.spacescooter.entity.enemy.EnemyBoss; import de.teamteamteam.spacescooter.entity.enemy.EnemyOne; import de.teamteamteam.spacescooter.entity.enemy.EnemyThree; import de.teamteamteam.spacescooter.entity.enemy.EnemyTwo; -import de.teamteamteam.spacescooter.entity.Entity; import de.teamteamteam.spacescooter.screen.GameScreen; import de.teamteamteam.spacescooter.utility.GameConfig; import de.teamteamteam.spacescooter.utility.Loader; @@ -60,19 +58,6 @@ public final class Level { * is necessary to torture the player. */ public void handleUpdateTick() { - //Debug Spawn Enemy on Press - if (Keyboard.isKeyDown(KeyEvent.VK_1)) { - new EnemyOne(400,400); - } - if (Keyboard.isKeyDown(KeyEvent.VK_2)) { - new EnemyTwo(400,400); - } - if (Keyboard.isKeyDown(KeyEvent.VK_3)) { - new EnemyThree(400,400); - } - if (Keyboard.isKeyDown(KeyEvent.VK_0)) { - new EnemyBoss(400,400); - } //Check whether the current interval is configured int currentIntervalIndex = this.config.getIntervalIndexByCurrentTime(this.levelClock); if(currentIntervalIndex == -1) return; //Nothing to do