public SquareVisibleByPlayers ( int x, int y ) : bool | ||
x | int | /// The x coordinate /// |
y | int | /// The y coordinate /// |
return | bool |
public bool SquareVisibleByPlayers(int x, int y)
{
return IsSquareWithinBoard(x, y) && revealedAreas.Contains(this[x, y].Area);
}