1 | import { Engine } from "./Core/Engine";
|
2 | import { HslColorManager } from "./Utils/HslColorManager";
|
3 | import { RgbColorManager } from "./Utils/RgbColorManager";
|
4 | import { addColorManager } from "./Utils/ColorUtils";
|
5 | export 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 | }
|