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