* Non-accessed local variable * Merge cast and type checks. * StringComparison.Ordinal added for better culture support * Supposed code improvement in launcher. Remove unused code. * Update ExplosionHelper.cs Unintentional change. * Optimized Import * Add Robust.Shared.Utility import where it was deleted * Other random suggestion * Improve my comment
24 lines
665 B
C#
24 lines
665 B
C#
using Robust.Client.UserInterface;
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
namespace Content.Client.UserInterface
|
|
{
|
|
/// <summary>
|
|
/// The status effects display on the right side of the screen.
|
|
/// </summary>
|
|
public sealed class StatusEffectsUI : Control
|
|
{
|
|
public VBoxContainer VBox => _vBox;
|
|
private readonly VBoxContainer _vBox;
|
|
|
|
public StatusEffectsUI()
|
|
{
|
|
_vBox = new VBoxContainer {GrowHorizontal = GrowDirection.Begin};
|
|
AddChild(_vBox);
|
|
SetAnchorAndMarginPreset(LayoutPreset.TopRight);
|
|
MarginTop = 250;
|
|
MarginRight = 10;
|
|
}
|
|
}
|
|
}
|