public void handleRecall() { if (linksTo == null && eventLink != null) { ScreenBrowser.Navigate(ScreenBrowser.currentUI.initialScreen); enabled = true; Keyboard.KeyDown -= eventLink; Demo.mode = InputMode.Menu; } else if (linksTo != null) { enabled = true; } }
public void handleAction(InputEventArgs e) { if (linksTo != null) { DialogBrowser.Navigate(linksTo); } else if (eventLink != null) { ScreenBrowser.Hide(); Demo.mode = InputMode.Map; Keyboard.KeyDown -= eventLink; Keyboard.KeyDown += eventLink; } if (actionLink != null) { actionLink(); } }
public void handleFinish() { if (linksTo == null && eventLink != null) { ScreenBrowser.Navigate(ScreenBrowser.currentUI.initialScreen); enabled = false; Keyboard.KeyDown -= eventLink; if (Demo.mode != InputMode.Dialog) { Demo.mode = InputMode.Menu; } } else if (actionLink != null) { ScreenBrowser.Navigate(ScreenBrowser.currentUI.initialScreen); enabled = true; ScreenBrowser.Hide(); } }