summaryrefslogtreecommitdiff
path: root/scripts/Entities/Actions/EscapeAction.cs
blob: cc5d2894d253dcd15c229f50cf83d69a5abb45c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
	}
}