import { StylusEntity } from "../../Stylus/Entity/StylusEntity";
import { DragLabelDropWorldUC } from "../UseCases/DragLabelDropWorldUC";
export function initializeDragLabelDropAnswerItemWorld(labelDropID, appObjects) {
    const uc = DragLabelDropWorldUC.get(appObjects);
    if (!uc) {
        appObjects.submitWarning("initializeDragLabelDropAnswerItem", "Unable to find DragLabelDropWorldUC");
        return;
    }
    const stylus = StylusEntity.get(appObjects);
    if (!stylus) {
        appObjects.submitError("initializeDragLabelDropAnswerItemWorld", "Unable to find StylusEntity");
        return;
    }
    uc.initializeDrag(labelDropID, stylus.pickRay);
}
//# sourceMappingURL=initializeDragLabelDropAnswerItemWorld.js.map