21 lines
484 B
C#
21 lines
484 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 InventoryScreen : State, IGet<Input.InteractButtonPressed>
|
|
{
|
|
public Transition On(in Input.InteractButtonPressed input)
|
|
{
|
|
Output(new Output.CloseInventoryMenu());
|
|
return To<InGame>();
|
|
}
|
|
}
|
|
}
|
|
}
|