15 lines
381 B
C#
15 lines
381 B
C#
namespace Minesweeper.Core
|
|
{
|
|
public interface IGameSettingsService
|
|
{
|
|
int SizeX { get; }
|
|
int SizeY { get; }
|
|
int MinesCount { get; }
|
|
GameSettingsValue Current { get; }
|
|
|
|
GameSettingsValue Clamp(GameSettingsValue value);
|
|
bool ApplyAndSaveIfChanged(GameSettingsValue value);
|
|
int GetMaxMines(int sizeX, int sizeY);
|
|
}
|
|
}
|