import { StateMachineEntity } from "../Entities";
export function clickRestoreScene(appObjects) {
    const entity = StateMachineEntity.get(appObjects);
    if (entity) {
        entity.restoreLastState();
    }
    else {
        appObjects.submitError("clickRestoreScene", "Unable to find StateMachineEntity");
    }
}
//# sourceMappingURL=clickRestoreScene.js.map