Пример #1
0
    private void SaveConfigurationFile()
    {
        Dictionary jsonMap = new Dictionary();

        jsonMap.Add("gameLevel", gameConfig.GameLevel);
        jsonMap.Add("playerMark", gameConfig.PlayerMark);
        jsonMap.Add("WhoStarts", gameConfig.WhoStarts);
        JSONUtil.WriteToJSONFile <Dictionary>(jsonMap, CONFIG_FILE_PATH);
    }