AI operating reactors & railguns, misc AI improvements

This commit is contained in:
Regalis
2015-11-30 19:06:27 +02:00
parent 6f2db08be0
commit 11857f894b
40 changed files with 804 additions and 272 deletions

View File

@@ -41,7 +41,10 @@ namespace Barotrauma
public static bool IsOpen
{
get { return isOpen; }
get
{
return isOpen;
}
}
public static void Init(GameWindow window)
@@ -72,6 +75,7 @@ namespace Barotrauma
}
else
{
GUIComponent.MouseOn = null;
textBox.Deselect();
}
@@ -80,10 +84,8 @@ namespace Barotrauma
if (isOpen)
{
frame.Update(deltaTime);
Character.DisableControls = true;
if (PlayerInput.KeyHit(Keys.Up))