(602bf4ba6) Implemented structure scaling. TODO: draw with correct scale when dragging

This commit is contained in:
Joonas Rikkonen
2019-04-16 17:13:18 +03:00
parent 3c147c1653
commit 9dc29965f6
6 changed files with 169 additions and 116 deletions
@@ -166,6 +166,25 @@ namespace Barotrauma
}
}
public string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName
{
get { return roomName; }
set
{
if (roomName == value) { return; }
roomName = value;
DisplayName = TextManager.Get(roomName, returnNull: true) ?? roomName;
}
}
public override Rectangle Rect
{
get