implemented sorrounding bombs

This commit is contained in:
Tim Wundenberg
2018-05-25 11:21:18 +02:00
parent 7709f8dc7d
commit e0291a445d
3 changed files with 27 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ namespace CoopSweeper.GameTypes
public Field()
{
State = FieldState.NONE;
CheckID = 0;
}
public bool ContainsBomb { get; set; }
@@ -17,6 +18,7 @@ namespace CoopSweeper.GameTypes
public FieldState State { get; set; }
public int SurroundingBombs { get; set; }
public int CheckID { get; set; }
public char ToChar()
{