v1.5.7.0 (Summer Update)

This commit is contained in:
Regalis11
2024-06-18 16:49:51 +03:00
parent 4a63dacbce
commit 230d1b6e78
263 changed files with 7792 additions and 2845 deletions
@@ -29,6 +29,12 @@ namespace Barotrauma
Length = Rect.Width + Padding + Label.Size.X;
}
public void SetLabel(LocalizedString label, CircuitBoxNode node)
{
Label = new CircuitBoxLabel(label, GUIStyle.SubHeadingFont);
Length = Rect.Width + Padding + Label.Size.X;
}
public void Draw(SpriteBatch spriteBatch, Vector2 drawPos, Vector2 parentPos, Color color)
{
if (CircuitBox.UI is not { } circuitBoxUi) { return; }