import { AppObjectUC } from "@vived/core";
export class TryPickStickTargetUC extends AppObjectUC {
    static get(id, appObjects) {
        return appObjects
            .get(id)
            ?.getComponent(TryPickStickTargetUC.type);
    }
}
TryPickStickTargetUC.type = "TryPickStickTargetUC";
export function makeTryPickStickTargetUC(appObject) {
    return new TryPickStickTargetUCImp(appObject);
}
class TryPickStickTargetUCImp extends TryPickStickTargetUC {
    constructor(appObject) {
        super(appObject, TryPickStickTargetUC.type);
        this.tryPick = (pickRay) => {
            this.warn("Picker needs to be injected");
            return false;
        };
    }
}
//# sourceMappingURL=TryPickStickTarget.js.map