Files
crystall-punk-14/Content.Client/Sandbox/SandboxWindow.cs

52 lines
1.4 KiB
C#
Raw Normal View History

2019-10-02 10:45:06 +02:00
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Shared.Localization;
namespace Content.Client.Sandbox
{
public sealed class SandboxWindow : SS14Window
{
public Button RespawnButton { get; }
public Button SpawnEntitiesButton { get; }
public Button SpawnTilesButton { get; }
public Button GiveFullAccessButton { get; } //A button that just puts a captain's ID in your hands.
2019-10-02 10:45:06 +02:00
public SandboxWindow(ILocalizationManager loc)
{
Title = loc.GetString("Sandbox Panel");
RespawnButton = new Button
{
Text = loc.GetString("Respawn")
};
SpawnEntitiesButton = new Button
{
Text = loc.GetString("Spawn Entities")
};
SpawnTilesButton = new Button
{
Text = loc.GetString("Spawn Tiles")
};
GiveFullAccessButton = new Button
{
Text = loc.GetString("Give Full Access ID")
};
2019-10-02 10:45:06 +02:00
Contents.AddChild(new VBoxContainer
{
Children =
{
RespawnButton,
SpawnEntitiesButton,
SpawnTilesButton,
GiveFullAccessButton
2019-10-02 10:45:06 +02:00
}
});
}
}
}