17 lines
421 B
C#
17 lines
421 B
C#
using Chickensoft.Introspection;
|
|
|
|
namespace Zennysoft.Ma.Adapter;
|
|
|
|
public partial class InGameUILogic
|
|
{
|
|
public partial record State
|
|
{
|
|
[Meta]
|
|
public partial record Active : State, IGet<Input.ShowMinimap>, IGet<Input.ShowInventory>
|
|
{
|
|
public Transition On(in Input.ShowMinimap input) => To<MinimapOpen>();
|
|
public Transition On(in Input.ShowInventory input) => To<InventoryOpen>();
|
|
}
|
|
}
|
|
}
|