Neue Grafik

This commit is contained in:
andreas
2014-12-18 15:21:32 +01:00
parent 0c369d5238
commit b0fdc452d4
2 changed files with 0 additions and 6 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

-6
View File
@@ -2,8 +2,6 @@ package de.heatup.ui;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import sun.awt.resources.awt;
import de.heatup.mapengine.CollisionHandler;
import de.heatup.mapengine.MapGrid;
import de.heatup.objects.Player;
@@ -82,9 +80,6 @@ public class KeyBindings extends KeyAdapter {
case KeyEvent.VK_DOWN:
down = true;
break;
//// case KeyEvent.VK_ESCAPE:
//// esc = true;
//// break;
case KeyEvent.VK_A:
if(((MapGrid.getGridCell(Main.player01.getGridLocation().x, Main.player01.getGridLocation().y).isTrigger()
&& !HardewareManipulate.getHardware(MapGrid.getGridCell(Main.player01.getGridLocation().x, Main.player01.getGridLocation().y).getCorrespondingHardwareToTrigger()))&&!key)&&ActionControl.getKeyA()){
@@ -194,7 +189,6 @@ public class KeyBindings extends KeyAdapter {
player.animate = true;
}
if (isESC()) {
//System.out.println("ESC pressed.");
Main.pause();
esc=false;
}