@Override
    protected void process() {
        super.process();
        
        Actor actor = ai.getActor();
        
        Player player = registry.getPlayerManager().getPlayerById(target);
        
        if(actor == null || player == null) {
            return;
        }
        
        int actorX = actor.getMapX();
        int targetX = player.getMapX();

        if (targetX > actorX) {
            actor.setFacing(Actor.Facing.RIGHT);
        } else {
            actor.setFacing(Actor.Facing.LEFT);
        }
        if(actor.getVertMoveMode() == Actor.VertMoveMode.FALLING) {
            actor.checkCollide(0);
        }
    }