mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 09:59:45 +02:00
Opponent angepasst
This commit is contained in:
@@ -52,6 +52,7 @@ public class Opponent extends Player {
|
|||||||
this.prevX = this.getGridLocation().x;
|
this.prevX = this.getGridLocation().x;
|
||||||
this.prevY = this.getGridLocation().y;
|
this.prevY = this.getGridLocation().y;
|
||||||
|
|
||||||
|
|
||||||
// Kreuzung erkennen
|
// Kreuzung erkennen
|
||||||
if ( d == 'x' ) {
|
if ( d == 'x' ) {
|
||||||
if ( MapGrid.getGridCell(this.getGridLocation().x, this.getGridLocation().y+1).isPath() ) {
|
if ( MapGrid.getGridCell(this.getGridLocation().x, this.getGridLocation().y+1).isPath() ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user