2018-01-05 19:21:19 +08:00
|
|
|
|
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
2017-03-03 12:17:24 +08:00
|
|
|
|
// 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;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Screens.Tournament.Components
|
|
|
|
|
{
|
2018-01-24 16:35:37 +08:00
|
|
|
|
public class DrawingsConfigManager : IniConfigManager<DrawingsConfig>
|
2017-02-27 22:09:26 +08:00
|
|
|
|
{
|
2017-03-09 12:50:33 +08:00
|
|
|
|
protected override string Filename => @"drawings.ini";
|
2017-02-27 22:09:26 +08:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|