public MessageBoxScreen(string _message) : base(false) { Systems.InputManager.RegisterScreen(this); endPos = new Vector2(EngineGlobals.Settings.WindowWidth / 2, EngineGlobals.Settings.WindowHeight / 1.25f); startPos = new Vector2(EngineGlobals.Settings.WindowWidth / 2, EngineGlobals.Settings.WindowHeight + 200); //_data = new TextLineData[_windowLines.Length / 4][]; var rough = _message.Split(new string[] { "/n[", "]" }, System.StringSplitOptions.RemoveEmptyEntries); if (rough.Length > 1) { name = rough[0]; message = rough[1]; } else message = rough[0]; method = new Data.Inputs.MethodParamPair(EngineGlobals.WaitForInput, new Data.Inputs.ControlInput() { Control = this.ControlReference[Data.Controls.ControlTypes.Interaction] }, 0); }