mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
22 lines
396 B
C#
22 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;
|
|
}
|
|
}
|