mirror of
https://github.com/correl/mage.git
synced 2024-11-22 03:00:11 +00: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());
|
||||
}
|
||||
|
|
BIN
Mage.Client/src/main/resources/info/initiative.png
Normal file
BIN
Mage.Client/src/main/resources/info/initiative.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 728 B |
|
@ -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)
|
Loading…
Reference in a new issue