mirror of
https://github.com/ppy/osu.git
synced 2024-11-19 00:22:57 +08:00
31 lines
813 B
C#
31 lines
813 B
C#
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
using osu.Framework.Configuration;
|
|
using osu.Framework.Platform;
|
|
|
|
namespace osu.Game.Screens.Tournament.Components
|
|
{
|
|
public class DrawingsConfigManager : ConfigManager<DrawingsConfig>
|
|
{
|
|
protected 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
|
|
}
|
|
}
|