blob: 229b82cd37b87cb231d2bf4962adcef1c55083c0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using AnodyneSharp.States;
using AnodyneSharp.States.MenuSubstates;
namespace AnodyneArchipelago.Menu
{
internal class BoxedConfigState : State
{
private ConfigSubstate _substate = new(true);
public BoxedConfigState()
{
_substate.GetControl();
}
public override void Update()
{
if (_substate.Exit)
{
Exit = true;
}
_substate.Update();
_substate.HandleInput();
}
public override void DrawUI()
{
_substate.DrawUI();
}
}
}
|