Ez a dokumentum egy előző változata!
Tiled map editor segítségével.
constructor(config, clock, spawnLocations, addObject, deleteObject) { this.id = config.id; this.spawnInterval = config.spawnInterval; this.limit = config.limit; this.objectType = config.objectType; this.clock = clock; this.spawnLocations = spawnLocations; this.addObject = addObject; this.deleteObject = deleteObject; this.objectsCreated = []; this.objectId = 1000; this.start(); }