Placeholder pAIs, ghost role rules window (#4972)

This commit is contained in:
20kdc
2021-11-02 00:42:04 +00:00
committed by GitHub
parent 76bc00b218
commit 7a03f00cfd
18 changed files with 350 additions and 12 deletions

View File

@@ -0,0 +1,20 @@
using System;
using Content.Shared.Ghost.Roles;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;
namespace Content.Client.Ghost.Roles.UI
{
[GenerateTypedNameReferences]
public partial class GhostRoleRulesWindow : SS14Window
{
public GhostRoleRulesWindow(string rules, Action<BaseButton.ButtonEventArgs> requestAction)
{
RobustXamlLoader.Load(this);
Title.SetMessage(rules);
RequestButton.OnPressed += requestAction;
}
}
}