From 449841e0ed4dafba13291381f4a4f8fe24585091 Mon Sep 17 00:00:00 2001 From: fdai7753 Date: Wed, 7 Feb 2024 16:47:08 +0100 Subject: [PATCH] Added spawn to Ghost.java --- src/main/java/pacmanGame/Ghost.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/pacmanGame/Ghost.java b/src/main/java/pacmanGame/Ghost.java index 26e9845..7868fea 100644 --- a/src/main/java/pacmanGame/Ghost.java +++ b/src/main/java/pacmanGame/Ghost.java @@ -19,4 +19,8 @@ public class Ghost { public void move(Vector2 direction) { this.position = this.position.Add(direction); } + + public void spawn() { + + } }