// Function from file: mapGenerator.dm public void generateOneTurf(dynamic T = null) { MapGeneratorModule mod = null; if (!Lang13.Bool(T)) { return; } this.syncModules(); if (!(this.modules != null) || !(this.modules.len != 0)) { return; } foreach (dynamic _a in Lang13.Enumerate(this.modules, typeof(MapGeneratorModule))) { mod = _a; Task13.Schedule(0, (Task13.Closure)(() => { mod.place(T); return; })); } return; }
// Function from file: mapGenerator.dm public void syncModules( ) { MapGeneratorModule mod = null; foreach (dynamic _a in Lang13.Enumerate(this.modules, typeof(MapGeneratorModule))) { mod = _a; mod.sync(this); } return; }
// Function from file: mapGenerator.dm public virtual void generate( ) { MapGeneratorModule mod = null; this.syncModules(); if (!(this.modules != null) || !(this.modules.len != 0)) { return; } foreach (dynamic _a in Lang13.Enumerate(this.modules, typeof(MapGeneratorModule))) { mod = _a; Task13.Schedule(0, (Task13.Closure)(() => { mod.generate(); return; })); } return; }