Files
GameJamDungeon/Zennysoft.Game.Ma/src/options/InputMapButton.cs
Zenny db7a1df1f7 Started implementing SFX
Fixed Shield animation jumps and secondary attack
Fixed demon wall stone behavior
Made overworld ambient sounds unpausable
2025-11-25 03:04:07 -08:00

21 lines
438 B
C#

using Godot;
using System;
namespace Zennysoft.Game.Ma;
public abstract partial class InputMapButton : Button
{
[Signal] public delegate void RemapEventHandler(InputMapButton buttonBeingRemapped);
public string Action { get; set; }
public InputEvent InputEvent { get; set; }
public InputMapButton()
{
Pressed += RemapButton_Pressed;
}
private void RemapButton_Pressed() => EmitSignal(SignalName.Remap, this);
}