- npcs wont try grab items from other characters' inventories

- fixed lightcomponent LightSprites "twitching" when the sub is moving
- fixed null reference exceptions in Hull.Render if no submarine has been loaded
- submarine descriptions
- emergency sirens in Aegir & Vellamo
- changed the required item for fabricating a wire from "Copper" to "Copper Bar"
This commit is contained in:
Regalis
2016-03-18 17:48:25 +02:00
parent 8df9864db9
commit fc8b30c974
18 changed files with 158 additions and 82 deletions
+16 -2
View File
@@ -20,11 +20,13 @@ namespace Barotrauma
public delegate bool OnEnterHandler(GUITextBox textBox, string text);
public OnEnterHandler OnEnterPressed;
public event TextBoxEvent OnKeyHit;
public delegate bool OnTextChangedHandler(GUITextBox textBox, string text);
public OnTextChangedHandler OnTextChanged;
public bool CaretEnabled;
public GUITextBlock.TextGetterHandler TextGetter
{
@@ -83,8 +85,20 @@ namespace Barotrauma
}
}
public bool CaretEnabled;
public override Rectangle Rect
{
get
{
return base.Rect;
}
set
{
base.Rect = value;
textBlock.Rect = value;
}
}
public String Text
{
get