updated Field

This commit is contained in:
Tim Wundenberg
2018-05-25 10:09:32 +02:00
parent 764f98b7e0
commit a03813e2c2
2 changed files with 13 additions and 2 deletions

View File

@@ -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();
}
} }
} }

View File

@@ -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();
} }
} }