Added notation for wrong markers
This commit is contained in:
parent
f7ffbebdae
commit
ae8de489e3
5
Cell.cs
5
Cell.cs
@ -24,6 +24,11 @@
|
||||
public void setMine() { isMine = true; }
|
||||
public void mark() { isMarked = true; }
|
||||
public void unmark() { isMarked = false; }
|
||||
public void setWrong()
|
||||
{
|
||||
isMarked = false;
|
||||
value = "!";
|
||||
}
|
||||
public bool isEmpty() { return value == " "; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user