31 lines
945 B
C#
31 lines
945 B
C#
using AibisDream;
|
|
using AibisDream.Framework;
|
|
|
|
namespace AibisDream.UI
|
|
{
|
|
public enum TerminalMainMenuPhase
|
|
{
|
|
None = 0,
|
|
Boot = 1,
|
|
Interactive = 2,
|
|
}
|
|
|
|
public static class TerminalUIAudio
|
|
{
|
|
public static void NotifyHover() =>
|
|
SingleCastEventSystem.Global.Trigger(TerminalUIAudioEnum.Hover);
|
|
|
|
public static void NotifyClick() =>
|
|
SingleCastEventSystem.Global.Trigger(TerminalUIAudioEnum.Click);
|
|
|
|
public static void NotifyMainMenuPhase(TerminalMainMenuPhase phase) =>
|
|
EnumEventSystem.Global.Send(TerminalUIEvent.MainMenuPhase, phase);
|
|
|
|
public static void NotifyPauseMenuAmbEnter() =>
|
|
EnumEventSystem.Global.Send(TerminalUIEvent.PauseMenuAmbEnter);
|
|
|
|
public static void NotifyPauseMenuAmbExit(bool restorePrevious) =>
|
|
EnumEventSystem.Global.Send(TerminalUIEvent.PauseMenuAmbExit, restorePrevious);
|
|
}
|
|
}
|