2017-03-03 12:17:24 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
using osu.Framework.Configuration;
|
2017-02-27 22:09:26 +08:00
|
|
|
|
using osu.Framework.Platform;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Tournament.Components
|
|
|
|
|
{
|
|
|
|
|
public class DrawingsConfigManager : ConfigManager<DrawingsConfig>
|
|
|
|
|
{
|
|
|
|
|
public override string Filename => @"drawings.ini";
|
|
|
|
|
|
|
|
|
|
protected override void InitialiseDefaults()
|
|
|
|
|
{
|
|
|
|
|
Set(DrawingsConfig.Groups, 8, 1, 8);
|
|
|
|
|
Set(DrawingsConfig.TeamsPerGroup, 8, 1, 8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DrawingsConfigManager(Storage storage)
|
|
|
|
|
: base(storage)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum DrawingsConfig
|
|
|
|
|
{
|
|
|
|
|
Groups,
|
|
|
|
|
TeamsPerGroup
|
|
|
|
|
}
|
|
|
|
|
}
|