public override void Update(GameTime gameTime)
        {
            keyboard.Update(gameTime);

            if (InputEngine.IsKeyPressed(Keys.Enter) && !firstText && !Done)
            {
                Name            = Output;
                Output          = string.Empty;
                firstText       = true;
                keyboard.Output = string.Empty;
                InputEngine.ClearState();
            }
            if (InputEngine.IsKeyPressed(Keys.Enter) && firstText && !Done)
            {
                Output          = string.Empty;
                keyboard.Output = string.Empty;
                Done            = true;
                Enabled         = false;
                Visible         = false;
            }
            if (InputEngine.IsKeyPressed(Keys.Back))
            {
                if (Output.Length > 0)
                {
                    Output = Output.Remove(Output.Length - 1);
                }
            }
            if (InputEngine.IsKeyPressed(Keys.Space))
            {
                Output += " ";
            }

            base.Update(gameTime);
        }
 public void Clear()
 {
     firstText = false;
     Name      = string.Empty;
     output    = string.Empty;
     input.KeysPressedInLastFrame.Clear();
     keyboard.Output = string.Empty;
     InputEngine.ClearState();
     Done = false;
 }