Skip to content

Commit

Permalink
State of MAES repository at time of galactic-supported release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Malte Z. Andreasen committed Jun 2, 2022
1 parent 6623f2f commit 54e965a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Assets/Scripts/ExampleProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@ internal class ExampleProgram : MonoBehaviour {
private void Start() {
// Get/instantiate simulation prefab
var simulator = Simulator.GetInstance();

// Setup configuration for a scenario
var caveConfig = new CaveMapConfig(123, widthInTiles: 75, heightInTiles: 75);
var scenario = new SimulationScenario(123, mapSpawner: generator => generator.GenerateCaveMap(caveConfig));
simulator.EnqueueScenario(scenario);

simulator.PressPlayButton(); // Instantly enter play mode
simulator.DefaultStart(true);
}
}
}

0 comments on commit 54e965a

Please sign in to comment.