[CLB] added initiative icon (#9010)

This commit is contained in:
Evan Kranzler 2022-06-08 08:33:44 -04:00
parent 8407e23d3f
commit 4ed3194801
3 changed files with 5 additions and 0 deletions

View file

@ -380,6 +380,9 @@ public class PlayerPanelExt extends javax.swing.JPanel {
if (player.isMonarch()) {
this.avatar.setTopTextImageRight(ImageHelper.getImageFromResources("/info/crown.png"));
}
if (player.isInitiative()) {
this.avatar.setTopTextImageRight(ImageHelper.getImageFromResources("/info/initiative.png"));
}
for (Counter counter : player.getCounters().values()) {
tooltipText.append("<br/>").append(counter.getName()).append(" counters: ").append(counter.getCount());
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 728 B

View file

@ -125,3 +125,5 @@ First steps for Xmage's developers:
* [Development Testing Tools](https://github.com/magefree/mage/wiki/Development-Testing-Tools)
* [Development Workflow](https://github.com/magefree/mage/wiki/Development-Workflow)
* [Development HOWTO Guides](https://github.com/magefree/mage/wiki/Development-HOWTO-Guides)
[Torch icons created by Freepik - Flaticon](https://www.flaticon.com/free-icons/torch)