Added remaining ghosts incl. movment-strategies

This commit is contained in:
Urban Modig
2025-08-20 15:26:06 +02:00
parent 9f316e5b43
commit 8e546fe942
13 changed files with 129 additions and 32 deletions

View File

@ -0,0 +1,13 @@
package se.urmo.game.entities;
import se.urmo.game.map.GameMap;
import java.awt.Point;
public class ScatterToTopLeft implements GhostStrategy {
@Override
public Point chooseTarget(Ghost ghost, PacMan pacman, GameMap map) {
return new Point(GameMap.OFFSET_X, GameMap.OFFSET_Y);
}
}