Пример #1
0
 /// <summary>
 /// Initializes the mission by the given name. Loads game objects and starts the game.
 /// </summary>
 /// <param name="missionFileName">The name of a file with the mission.</param>
 private static void Inicialization(string missionFileName)
 {
     gameObjectMgr.Initialize(missionFileName);
     gameGUI.SetSolarSystemName(SolarSystemManager.GetSolarSystemName(0));
     mission.Initialize();
     gameGUI.Enable = true;
     paused         = false;
     PrintToGameConsole("Game loaded");
     initialized = true;
 }