diff --git a/HeatUp/src/de/heatup/testing/Opponent.java b/HeatUp/src/de/heatup/testing/Opponent.java index b714f44..1e1fa87 100644 --- a/HeatUp/src/de/heatup/testing/Opponent.java +++ b/HeatUp/src/de/heatup/testing/Opponent.java @@ -52,6 +52,7 @@ public class Opponent extends Player { this.prevX = this.getGridLocation().x; this.prevY = this.getGridLocation().y; + // Kreuzung erkennen if ( d == 'x' ) { if ( MapGrid.getGridCell(this.getGridLocation().x, this.getGridLocation().y+1).isPath() ) {