A separate class for parameters used by the level generator, different "level types" with configurable parameters

This commit is contained in:
Regalis
2016-09-12 20:18:43 +03:00
parent 1f7bf250b5
commit c6105afc80
10 changed files with 496 additions and 178 deletions

View File

@@ -493,10 +493,6 @@ namespace Barotrauma
case "fire":
if (GameMain.Client == null) Hull.EditFire = !Hull.EditFire;
break;
case "generatelevel":
GameMain.Level = new Level("asdf", 50.0f, 500,500, 50);
GameMain.Level.Generate();
break;
case "fixitems":
foreach (Item it in Item.ItemList)