Skip to content

Commit 54e965a

Browse files
author
Malte Z. Andreasen
committed
State of MAES repository at time of galactic-supported release.
1 parent 6623f2f commit 54e965a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Assets/Scripts/ExampleProgram.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,7 @@ internal class ExampleProgram : MonoBehaviour {
3030
private void Start() {
3131
// Get/instantiate simulation prefab
3232
var simulator = Simulator.GetInstance();
33-
34-
// Setup configuration for a scenario
35-
var caveConfig = new CaveMapConfig(123, widthInTiles: 75, heightInTiles: 75);
36-
var scenario = new SimulationScenario(123, mapSpawner: generator => generator.GenerateCaveMap(caveConfig));
37-
simulator.EnqueueScenario(scenario);
38-
39-
simulator.PressPlayButton(); // Instantly enter play mode
33+
simulator.DefaultStart(true);
4034
}
4135
}
4236
}

0 commit comments

Comments
 (0)