diff --git a/Robust.Shared/Map/Components/MapGridComponent.cs b/Robust.Shared/Map/Components/MapGridComponent.cs index e4a646faf39..c6d477d941d 100644 --- a/Robust.Shared/Map/Components/MapGridComponent.cs +++ b/Robust.Shared/Map/Components/MapGridComponent.cs @@ -73,73 +73,6 @@ public sealed partial class MapGridComponent : Component [ViewVariables(VVAccess.ReadWrite), DataField("canSplit")] public bool CanSplit = true; - #region TileAccess - - [Obsolete("Use the MapSystem method")] - public TileRef GetTileRef(EntityCoordinates coords) - { - return MapSystem.GetTileRef(Owner, this, coords); - } - - [Obsolete("Use the MapSystem method")] - public TileRef GetTileRef(Vector2i tileCoordinates) - { - return MapSystem.GetTileRef(Owner, this, tileCoordinates); - } - - [Obsolete("Use the MapSystem method")] - public IEnumerable GetAllTiles(bool ignoreEmpty = true) - { - return MapSystem.GetAllTiles(Owner, this, ignoreEmpty); - } - - [Obsolete("Use the MapSystem method")] - public GridTileEnumerator GetAllTilesEnumerator(bool ignoreEmpty = true) - { - return MapSystem.GetAllTilesEnumerator(Owner, this, ignoreEmpty); - } - - [Obsolete("Use the MapSystem method")] - public void SetTile(EntityCoordinates coords, Tile tile) - { - MapSystem.SetTile(Owner, this, coords, tile); - } - - [Obsolete("Use the MapSystem method")] - public void SetTile(Vector2i gridIndices, Tile tile) - { - MapSystem.SetTile(Owner, this, gridIndices, tile); - } - - [Obsolete("Use the MapSystem method")] - public void SetTiles(List<(Vector2i GridIndices, Tile Tile)> tiles) - { - MapSystem.SetTiles(Owner, this, tiles); - } - - [Obsolete("Use the MapSystem method")] - public IEnumerable GetTilesIntersecting(Box2 worldArea, bool ignoreEmpty = true, - Predicate? predicate = null) - { - return MapSystem.GetTilesIntersecting(Owner, this, worldArea, ignoreEmpty, predicate); - } - - [Obsolete("Use the MapSystem method")] - public IEnumerable GetLocalTilesIntersecting(Box2 localArea, bool ignoreEmpty = true, - Predicate? predicate = null) - { - return MapSystem.GetLocalTilesIntersecting(Owner, this, localArea, ignoreEmpty, predicate); - } - - [Obsolete("Use the MapSystem method")] - public IEnumerable GetTilesIntersecting(Circle worldArea, bool ignoreEmpty = true, - Predicate? predicate = null) - { - return MapSystem.GetTilesIntersecting(Owner, this, worldArea, ignoreEmpty, predicate); - } - - #endregion TileAccess - #region ChunkAccess [Obsolete("Use the MapSystem method")]