@Override
    public void terminate() {
        super.terminate();

        Actor actor = ai.getActor();

        if (actor == null) {
            return;
        }

        actor.setActionMode(Actor.ActionMode.NONE);
    }