summaryrefslogtreecommitdiff
path: root/scripts/Entities
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-15 20:00:47 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-15 20:00:47 -0300
commit862b399fa37e6ca692d38177a22ee34860d2251e (patch)
tree3c0c80efbe0096c8e8d606ee464b54b55eaa209c /scripts/Entities
parentbefb39054656e3242e9408f2afe8c902df471ffa (diff)
Menu principal
Diffstat (limited to 'scripts/Entities')
-rw-r--r--scripts/Entities/Actions/EscapeAction.cs13
-rw-r--r--scripts/Entities/Actions/EscapeAction.cs.uid1
2 files changed, 14 insertions, 0 deletions
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