[Mobile] Support for highlighted players

- Draws rectangle outline on the Player Avatar (uses same color outline with highlighted cards)
This commit is contained in:
Anthony Calosa
2021-12-21 06:40:47 +08:00
parent 67d903335a
commit 5b76f355ea

View File

@@ -166,5 +166,9 @@ public class VAvatar extends FDisplayObject {
g.drawRect(w / 16f, Color.LIME, 0, 0, w, h);
g.setAlphaComposite(oldAlpha);
}
//highlighted
if (MatchController.instance.isHighlighted(player)) {
g.drawRect(w / 16f, Color.MAGENTA, 0, 0, w, h);
}
}
}