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

import lombok.extern.slf4j.Slf4j;
import se.urmo.game.entities.ghost.Ghost;
import se.urmo.game.entities.pacman.PacMan;
import se.urmo.game.map.GameMap;

@Slf4j
public class FrozenGhostMode extends AbstractGhostModeImpl {
    public FrozenGhostMode(Ghost ghost) {
        super(ghost, null, ghost.getLevelManager(), ghost.getAnimation());
    }

    @Override
    public void update(Ghost ghost, PacMan pacman, GameMap map) {
        // Do not update position - frozen ghosts don't move
    }

//    @Override
//    public void enter(Ghost ghost) {
//        log.debug("Entering frozen mode");
//    }
}