mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
[CLB] added initiative icon (#9010)
This commit is contained in:
parent
8407e23d3f
commit
4ed3194801
3 changed files with 5 additions and 0 deletions
|
|
@ -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());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue