Exemplo n.º 1
0
 public void Start()
 {
     GameMgmt.startConfig             = new Dictionary <string, string>();
     GameMgmt.startConfig["type"]     = "scenario";
     GameMgmt.startConfig["scenario"] = id;
     GameMgmt.startConfig["name"]     = Name() + " scenario";
     GameMgmt.Init();
 }
Exemplo n.º 2
0
        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();
        }