mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 10:09:44 +02:00
Neue Grafik
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user