mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 11:40:52 +01:00
* Obsoleted C# grid events from MapManager.GridCollection. Use the ECS EventBus events instead. * Obsoleted C# events from MapManager.MapCollection. Use the ECS EventBus events instead.
20 lines
381 B
C#
20 lines
381 B
C#
using Robust.Client.Graphics;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Robust.Client.GameObjects;
|
|
|
|
internal class GridRenderingSystem : EntitySystem
|
|
{
|
|
private readonly IClydeInternal _clyde;
|
|
|
|
public GridRenderingSystem(IClydeInternal clyde)
|
|
{
|
|
_clyde = clyde;
|
|
}
|
|
|
|
public override void Initialize()
|
|
{
|
|
_clyde.RegisterGridEcsEvents();
|
|
}
|
|
}
|