updated Field
This commit is contained in:
@@ -15,5 +15,10 @@ namespace CoopSweeper.GameTypes
|
|||||||
public bool ContainsBomb { get; set; }
|
public bool ContainsBomb { get; set; }
|
||||||
|
|
||||||
public FieldState State { get; set; }
|
public FieldState State { get; set; }
|
||||||
|
|
||||||
|
public char ToChar()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using System.Text;
|
|||||||
|
|
||||||
namespace CoopSweeper.GameTypes
|
namespace CoopSweeper.GameTypes
|
||||||
{
|
{
|
||||||
enum FieldState
|
public enum FieldState
|
||||||
{
|
{
|
||||||
NONE,
|
NONE,
|
||||||
REVEALED,
|
REVEALED,
|
||||||
@@ -14,5 +14,11 @@ namespace CoopSweeper.GameTypes
|
|||||||
|
|
||||||
public interface IField
|
public interface IField
|
||||||
{
|
{
|
||||||
|
|
||||||
|
bool ContainsBomb { get; set; }
|
||||||
|
|
||||||
|
FieldState State { get; set; }
|
||||||
|
|
||||||
|
char ToChar();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user