30 lines
605 B
C#
30 lines
605 B
C#
using Chickensoft.Introspection;
|
|
using Chickensoft.LogicBlocks;
|
|
|
|
namespace GameJamDungeon;
|
|
|
|
public partial class AppLogic
|
|
{
|
|
public partial record State
|
|
{
|
|
[Meta]
|
|
public partial record SetupGameScene : State, IGet<Input.LoadGameFinished>
|
|
{
|
|
public SetupGameScene()
|
|
{
|
|
this.OnEnter(() =>
|
|
{
|
|
Output(new Output.SetupGameScene());
|
|
Output(new Output.ShowGame());
|
|
Input(new Input.LoadGameFinished());
|
|
});
|
|
}
|
|
|
|
public Transition On(in Input.LoadGameFinished input)
|
|
{
|
|
return To<InGame>();
|
|
}
|
|
}
|
|
}
|
|
}
|