blob: f0b1ed5bfde8524c0a159f49a20c104f098e9240 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
using TheLegendOfGustav.Entities.Actors;
using TheLegendOfGustav.Utils;
namespace TheLegendOfGustav.Entities.Actions;
public partial class EscapeAction(Actor actor) : Action(actor)
{
public override bool Perform()
{
Actor.MapData.SaveGame();
SignalBus.Instance.EmitSignal(SignalBus.SignalName.EscapeRequested);
return false;
}
}
|