|
|
|
@ -101,7 +101,6 @@ public class Tank extends GameObject {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void move() {
|
|
|
|
|
System.out.println("tank move start:" + this.toString());
|
|
|
|
|
if (!this.moving) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
@ -133,7 +132,6 @@ public class Tank extends GameObject {
|
|
|
|
|
new Audio("audio/tank_move.wav").play();
|
|
|
|
|
}).start();
|
|
|
|
|
}
|
|
|
|
|
System.out.println("tank move end:" + this.toString());
|
|
|
|
|
rectangle.x = x;
|
|
|
|
|
rectangle.y = y;
|
|
|
|
|
}
|
|
|
|
|