Esempio n. 1
0
        public static MethodResult ShowMessageBox(object sender, IEventInput input)
        {
            var    sInput = (StringInput)input;
            string _lines = sInput.Input;
            var    screen = new SystemScreens.MessageBoxScreen(_lines, Current_ActionList);

            GameReference.State_Manager.AddScreen(screen);
            return(MethodResult.Success);
        }
        public static MethodResult ShowMessageBox(object sender, IEventInput input)
        {
            var    sInput = (StringInput)input;
            string _lines = sInput.Input;
            var    screen = new SystemScreens.MessageBoxScreen(_lines);

            GameReference.State_Manager.AddScreen(screen);
            while (screen.Result != MethodResult.Yes)
            {
                System.Threading.Thread.Sleep(100);
            }
            return(MethodResult.Success);
        }
 public static MethodResult ShowMessageBox(object sender, IEventInput input)
 {
     var sInput = (StringInput)input;
     string _lines = sInput.Input;
     var screen = new SystemScreens.MessageBoxScreen(_lines);
     GameReference.State_Manager.AddScreen(screen);
     while (screen.Result != MethodResult.Yes)
     {
         System.Threading.Thread.Sleep(100);
     }
     return MethodResult.Success;
 }
 public static MethodResult ShowMessageBox(object sender, IEventInput input)
 {
     var sInput = (StringInput)input;
     string _lines = sInput.Input;
     var screen = new SystemScreens.MessageBoxScreen(_lines, Current_ActionList);
     GameReference.State_Manager.AddScreen(screen);
     return MethodResult.Success;
 }