package se.urmo.game.entities.ghost.strategy;

import se.urmo.game.entities.pacman.PacMan;
import se.urmo.game.entities.ghost.Ghost;
import se.urmo.game.map.GameMap;

import java.awt.Point;

public class ScatterToTopRight implements GhostStrategy {
    @Override
    public Point chooseTarget(Ghost ghost, PacMan pacman, GameMap map) {
        return new Point((map.columns() -1) * GameMap.MAP_TILESIZE + GameMap.OFFSET_X, 0);
    }
}
