This commit is contained in:
Regalis
2015-11-22 00:40:37 +02:00
parent 91fa25ecd2
commit 1eaf22d3d0
14 changed files with 100 additions and 22 deletions

View File

@@ -80,6 +80,10 @@ namespace Barotrauma
if (isOpen)
{
frame.Update(deltaTime);
Character.DisableControls = true;
if (PlayerInput.KeyHit(Keys.Up))
@@ -91,7 +95,7 @@ namespace Barotrauma
SelectMessage(1);
}
textBox.Update(deltaTime);
//textBox.Update(deltaTime);
if (PlayerInput.GetKeyboardState.IsKeyDown(Keys.Enter) && textBox.Text != "")
{
@@ -122,8 +126,6 @@ namespace Barotrauma
{
if (!isOpen) return;
frame.Update(1.0f / 60.0f);
int margin = 5;
//GUI.DrawRectangle(spriteBatch,