diff --git a/CoopSweeper/GameTypes/Field.cs b/CoopSweeper/GameTypes/Field.cs index 36d1e56..ac69500 100644 --- a/CoopSweeper/GameTypes/Field.cs +++ b/CoopSweeper/GameTypes/Field.cs @@ -14,6 +14,11 @@ namespace CoopSweeper.GameTypes public bool ContainsBomb { get; set; } - public FieldState State { get; set; } + public FieldState State { get; set; } + + public char ToChar() + { + throw new NotImplementedException(); + } } } diff --git a/CoopSweeper/GameTypes/IField.cs b/CoopSweeper/GameTypes/IField.cs index 87eb58a..ff1e1eb 100644 --- a/CoopSweeper/GameTypes/IField.cs +++ b/CoopSweeper/GameTypes/IField.cs @@ -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(); } }