Files
minesweeper-coop/CoopSweeper/GameTypes/IField.cs
2018-05-25 11:21:18 +02:00

29 lines
438 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace CoopSweeper.GameTypes
{
public enum FieldState
{
NONE,
REVEALED,
QUESTIONMARK,
FLAG
}
public interface IField
{
bool ContainsBomb { get; set; }
int SurroundingBombs { get; set; }
int CheckID { get; set; }
FieldState State { get; set; }
char ToChar();
}
}