public bool Fire(Coordinate coord) { var target = Tiles[coord]; target?.OnHit?.Invoke(coord); if (target == null) return false; switch (target.Status) { case TileStatus.Hit: case TileStatus.Sunk: return true; } return false; }
public bool IsOpenOcean(Coordinate tile) { return Tiles[tile].Status == TileStatus.OpenOcean; }