"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setOverlayColor = setOverlayColor;
const SetOverlayColorUC_1 = require("../UC/SetOverlayColorUC");
function setOverlayColor(color, appObjectID, appObjectRepo) {
    const appObject = appObjectRepo.get(appObjectID);
    if (!appObject) {
        appObjectRepo.submitWarning("SetOverlayColorController", "App Object not found");
        return;
    }
    const setOverlayColorUC = SetOverlayColorUC_1.SetOverlayColorUC.get(appObject);
    if (!setOverlayColorUC) {
        appObjectRepo.submitWarning("SetOverlayColorController", "SetOverlayColorUC was not added to App Object");
        return;
    }
    setOverlayColorUC.setOverlayColor(color);
}
//# sourceMappingURL=SetOverlayColor.js.map