diff --git a/src/main/java/pacmanGame/Player.java b/src/main/java/pacmanGame/Player.java index 9d10ae5..c8c2e48 100644 --- a/src/main/java/pacmanGame/Player.java +++ b/src/main/java/pacmanGame/Player.java @@ -8,6 +8,7 @@ public class Player { public Player(GameManager gameManager) { this.gameManager = gameManager; this.position = new Vector2(-1,-1); + this.direction = new Vector2(0,-1); } public void Move() {