mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 09:59:45 +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.KeyAdapter;
|
||||||
import java.awt.event.KeyEvent;
|
import java.awt.event.KeyEvent;
|
||||||
|
|
||||||
import sun.awt.resources.awt;
|
|
||||||
import de.heatup.mapengine.CollisionHandler;
|
import de.heatup.mapengine.CollisionHandler;
|
||||||
import de.heatup.mapengine.MapGrid;
|
import de.heatup.mapengine.MapGrid;
|
||||||
import de.heatup.objects.Player;
|
import de.heatup.objects.Player;
|
||||||
@@ -82,9 +80,6 @@ public class KeyBindings extends KeyAdapter {
|
|||||||
case KeyEvent.VK_DOWN:
|
case KeyEvent.VK_DOWN:
|
||||||
down = true;
|
down = true;
|
||||||
break;
|
break;
|
||||||
//// case KeyEvent.VK_ESCAPE:
|
|
||||||
//// esc = true;
|
|
||||||
//// break;
|
|
||||||
case KeyEvent.VK_A:
|
case KeyEvent.VK_A:
|
||||||
if(((MapGrid.getGridCell(Main.player01.getGridLocation().x, Main.player01.getGridLocation().y).isTrigger()
|
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()){
|
&& !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;
|
player.animate = true;
|
||||||
}
|
}
|
||||||
if (isESC()) {
|
if (isESC()) {
|
||||||
//System.out.println("ESC pressed.");
|
|
||||||
Main.pause();
|
Main.pause();
|
||||||
esc=false;
|
esc=false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user