@ -1,7 +1,7 @@
package pacmanGame;
public interface GhostBehavior {
public Vector2 GetDirection();
public Vector2 GetDirection(Ghost ghost);
}
@ -1,14 +1,10 @@
public class GhostBehaviorChase implements GhostBehavior {
public final Ghost ghost;
public GhostBehaviorChase(Ghost ghost) {
this.ghost = ghost;
@Override
public Vector2 GetDirection() {
public Vector2 GetDirection(Ghost ghost) {
return null;