Fixed Shield animation jumps and secondary attack Fixed demon wall stone behavior Made overworld ambient sounds unpausable
21 lines
438 B
C#
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);
|
|
}
|