mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* Fix GetWorldViewbounds() and GetWorldViewport() * Remove some uses of `CurrentMap` and `CurrentEye`
27 lines
660 B
C#
27 lines
660 B
C#
using Robust.Shared.Enums;
|
|
using Robust.Client.Graphics;
|
|
|
|
|
|
namespace Robust.Client.Placement
|
|
{
|
|
public partial class PlacementManager
|
|
{
|
|
internal sealed class PlacementOverlay : Overlay
|
|
{
|
|
private readonly PlacementManager _manager;
|
|
public override OverlaySpace Space => OverlaySpace.WorldSpace;
|
|
|
|
public PlacementOverlay(PlacementManager manager)
|
|
{
|
|
_manager = manager;
|
|
ZIndex = 100;
|
|
}
|
|
|
|
protected internal override void Draw(in OverlayDrawArgs args)
|
|
{
|
|
_manager.Render(args);
|
|
}
|
|
}
|
|
}
|
|
}
|