123456789101112131415161718192021 |
- import { Stage } from "../drawers/stage";
- class DrawerManager {
- constructor() {
- this.currentStage = this.newStage();
- this.stages = [this.currentStage];
- }
- newStage() {
- const stage = new Stage();
- stage.newStage();
- return stage;
- }
- getStages() {
- this.stages;
- }
- draw(object) {
- this.currentStage.draw(object);
- }
- addAggregator(aggregator) {}
- }
- export const drawerManager = new DrawerManager();
|