public bool CheckCoordinates(int x, int y) { if (!Tiles.CheckCoordinates(x, y)) { return(false); } return((Tiles[x, y] & InvalidTiles) == TileInfo.Free); }