Merge MapGrid into MapGridComponent (#3468)

This commit is contained in:
metalgearsloth
2022-11-22 13:04:51 +11:00
committed by GitHub
parent 8dfc779611
commit 5e3a5a0d0c
56 changed files with 648 additions and 1194 deletions
@@ -144,7 +144,7 @@ namespace Robust.Shared.GameObjects
/// <summary>
/// Grid being changed.
/// </summary>
public IMapGrid Grid { get; }
public MapGridComponent Grid { get; }
/// <summary>
/// Set of tiles that were modified.
@@ -154,7 +154,7 @@ namespace Robust.Shared.GameObjects
/// <summary>
/// Creates a new instance of this class.
/// </summary>
public GridModifiedEvent(IMapGrid grid, IReadOnlyCollection<(Vector2i position, Tile tile)> modified)
public GridModifiedEvent(MapGridComponent grid, IReadOnlyCollection<(Vector2i position, Tile tile)> modified)
{
Grid = grid;
Modified = modified;