- add: more interaction shit

This commit is contained in:
2024-02-26 21:43:11 +03:00
parent b63a46e032
commit a31947423c
27 changed files with 752 additions and 97 deletions

View File

@@ -6,10 +6,21 @@ using Robust.Client.UserInterface.XAML;
namespace Content.Client._Amour.InteractionPanel.UI;
[GenerateTypedNameReferences]
public sealed partial class InteractionPanelButton : ContainerButton
public sealed partial class InteractionPanelButton : Button
{
public event Action<string>? OnInteraction;
private Color _color = Color.White;
public Color Color
{
get => _color;
set
{
_color = value;
ModulateSelfOverride = value;
}
}
private string _interactionId = "Interaction";
public string InteractionId
{