Example #1
0
 public void handleFinish()
 {
     if (linksTo == null && eventLink != null)
     {
         //DialogBrowser.Navigate(DialogBrowser.currentUI.initialDialog);
         // enabled = false;
         Keyboard.KeyDown -= eventLink;
         Demo.mode         = InputMode.Menu; //NOTE: switches to SimpleUI
     }
     else if (actionLink != null)
     {
         //DialogBrowser.Navigate(DialogBrowser.currentUI.initialDialog);
         //enabled = true;
         DialogBrowser.Hide();
     }
 }
Example #2
0
 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();
     }
 }