UNPKG

478 BJavaScriptView Raw
1import { Engine } from "./Core/Engine";
2import { HslColorManager } from "./Utils/HslColorManager";
3import { RgbColorManager } from "./Utils/RgbColorManager";
4import { addColorManager } from "./Utils/ColorUtils";
5export function init() {
6 const rgbColorManager = new RgbColorManager(), hslColorManager = new HslColorManager();
7 addColorManager(rgbColorManager);
8 addColorManager(hslColorManager);
9 const engine = new Engine();
10 engine.init();
11 return engine;
12}