(42d13c09f) Merge remote-tracking branch 'origin/tutorial-rework' into dev

This commit is contained in:
Joonas Rikkonen
2019-04-25 18:07:37 +03:00
parent 99344e4031
commit e83dba2959
53 changed files with 3623 additions and 550 deletions
@@ -30,13 +30,15 @@ namespace Barotrauma
//the position and dimensions of the entity
protected Rectangle rect;
public bool ExternalHighlight = false;
//is the mouse inside the rect
protected bool isHighlighted;
private bool isHighlighted;
public bool IsHighlighted
{
get { return isHighlighted; }
get { return isHighlighted || ExternalHighlight; }
set { isHighlighted = value; }
}