diff options
Diffstat (limited to 'scripts/Entities/Actions')
| -rw-r--r-- | scripts/Entities/Actions/EscapeAction.cs | 13 | ||||
| -rw-r--r-- | scripts/Entities/Actions/EscapeAction.cs.uid | 1 |
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 |
