1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.init = void 0;
|
4 | const Engine_1 = require("./Core/Engine");
|
5 | const HslColorManager_1 = require("./Utils/HslColorManager");
|
6 | const RgbColorManager_1 = require("./Utils/RgbColorManager");
|
7 | const ColorUtils_1 = require("./Utils/ColorUtils");
|
8 | function 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 | }
|
16 | exports.init = init;
|