Skip to content

Commit

Permalink
[CLB] added initiative icon (magefree#9010)
Browse files Browse the repository at this point in the history
  • Loading branch information
theelk801 committed Jun 8, 2022
1 parent 8407e23 commit 4ed3194
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ private void updateAvatar() {
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());
}
Expand Down
Binary file added Mage.Client/src/main/resources/info/initiative.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 4ed3194

Please sign in to comment.