From 862b399fa37e6ca692d38177a22ee34860d2251e Mon Sep 17 00:00:00 2001 From: Matheus Date: Mon, 15 Sep 2025 20:00:47 -0300 Subject: Menu principal --- scripts/Entities/Actions/EscapeAction.cs | 13 +++++++++++++ scripts/Entities/Actions/EscapeAction.cs.uid | 1 + 2 files changed, 14 insertions(+) create mode 100644 scripts/Entities/Actions/EscapeAction.cs create mode 100644 scripts/Entities/Actions/EscapeAction.cs.uid (limited to 'scripts/Entities/Actions') diff --git a/scripts/Entities/Actions/EscapeAction.cs b/scripts/Entities/Actions/EscapeAction.cs new file mode 100644 index 0000000..cc5d289 --- /dev/null +++ b/scripts/Entities/Actions/EscapeAction.cs @@ -0,0 +1,13 @@ +using TheLegendOfGustav.Entities.Actors; +using TheLegendOfGustav.Utils; + +namespace TheLegendOfGustav.Entities.Actions; + +public partial class EscapeAction(Actor actor) : Action(actor) +{ + public override bool Perform() + { + SignalBus.Instance.EmitSignal(SignalBus.SignalName.EscapeRequested); + return false; + } +} \ No newline at end of file diff --git a/scripts/Entities/Actions/EscapeAction.cs.uid b/scripts/Entities/Actions/EscapeAction.cs.uid new file mode 100644 index 0000000..380f369 --- /dev/null +++ b/scripts/Entities/Actions/EscapeAction.cs.uid @@ -0,0 +1 @@ +uid://dtxw6x1naf3oc -- cgit v1.2.3