[Add] Menu with configs and size fix
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user