Opponent angepasst

This commit is contained in:
andreas
2014-11-07 14:21:58 +01:00
parent 88cb7ceaf2
commit f95a85cf2e
@@ -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() ) {