21 lines
474 B
C#
21 lines
474 B
C#
using Chickensoft.Introspection;
|
|
using Chickensoft.LogicBlocks;
|
|
|
|
namespace Zennysoft.Ma.Adapter;
|
|
|
|
public partial class GameState
|
|
{
|
|
public partial record State
|
|
{
|
|
[Meta, LogicBlock(typeof(State), Diagram = true)]
|
|
public partial record MiniMapScreen : State, IGet<Input.MiniMapButtonPressed>
|
|
{
|
|
public Transition On(in Input.MiniMapButtonPressed input)
|
|
{
|
|
Output(new Output.CloseMiniMap());
|
|
return To<InGame>();
|
|
}
|
|
}
|
|
}
|
|
}
|