UNPKG

680 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.init = void 0;
4const Engine_1 = require("./Core/Engine");
5const HslColorManager_1 = require("./Utils/HslColorManager");
6const RgbColorManager_1 = require("./Utils/RgbColorManager");
7const ColorUtils_1 = require("./Utils/ColorUtils");
8function init() {
9 const rgbColorManager = new RgbColorManager_1.RgbColorManager(), hslColorManager = new HslColorManager_1.HslColorManager();
10 (0, ColorUtils_1.addColorManager)(rgbColorManager);
11 (0, ColorUtils_1.addColorManager)(hslColorManager);
12 const engine = new Engine_1.Engine();
13 engine.init();
14 return engine;
15}
16exports.init = init;