Opponent angepasst
This commit is contained in:
1 parent
88cb7ceaf2
commit
f95a85cf2e
1 file changed
+1
@@ -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() ) {
|
||||
|
||||
Reference in new issue
Block a user