public void Start() { GameMgmt.startConfig = new Dictionary <string, string>(); GameMgmt.startConfig["type"] = "scenario"; GameMgmt.startConfig["scenario"] = id; GameMgmt.startConfig["name"] = Name() + " scenario"; GameMgmt.Init(); }
public override void Perform() { if (!startConfig.ContainsKey("map")) { UIHelper.ShowOk("No map", "You need to select a map to play."); return; } GameMgmt.startConfig = startConfig; GameMgmt.startConfig["name"] = S.T("endless"); GameMgmt.startConfig["type"] = "endless"; GameMgmt.Init(); }