Files
tbd-station-14/Content.Client/NPC/NPCEui.cs
metalgearsloth 0286b88388 NPC refactor (#10122)
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com>
2022-09-06 00:28:23 +10:00

23 lines
396 B
C#

using Content.Client.Eui;
namespace Content.Client.NPC;
public sealed class NPCEui : BaseEui
{
private NPCWindow? _window = new();
public override void Opened()
{
base.Opened();
_window = new NPCWindow();
_window.OpenCentered();
}
public override void Closed()
{
base.Closed();
_window?.Close();
_window = null;
}
}