import { GdEnemy, GdImage, GdLevel, GdSimulation, GdTower } from "./index.js"; export class GdRoot { images = {}; enemies = []; towers = []; levels = []; simulation = new GdSimulation(); async loadAsync() { GdEnemy.addEnemies(this); GdLevel.addLevels(this); GdTower.addTowers(this); await GdImage.addImagesAsync(this); } image(name) { return this.images[name]; } } //# sourceMappingURL=GdRoot.js.map