using Chickensoft.Introspection; using Chickensoft.LogicBlocks; namespace Zennysoft.Ma.Adapter; public partial class GameLogic { public partial record State { [Meta] public partial record Quit : State, IGet { public Quit() { this.OnEnter(() => Output(new Output.ShowLostScreen())); } public Transition On(in Input.GoToOverworld input) { Input(new Input.StartGame()); return To(); } } } }