public static void BreakAt(int x, int y) { if (m_grid[x, y] == MapTile.Empty) { return; } m_grid[x, y] = MapTile.Empty; TileRemoved?.Invoke(new MapPoint(x, y)); }
/// <summary> /// Throws Event 'TileRemoved' /// </summary> /// <param name="e">Event Arguments</param> protected virtual void OnTileRemoved(TriominoTileEventArgs e) { TileRemoved?.Invoke(this, e); }