Пример #1
0
        public void LoadFromJson(Controller gameController, UserSettings userSettings, GoGame mainForm)
        {
            if (hugeJson == null)
            {
                throw new Exception("Huge json isn't initialized");
            }

            gameController.LoadFromHugeJson(hugeJson);
            userSettings.LoadFromHugeJson(hugeJson);
            mainForm.LoadFromHugeJson(hugeJson);
        }