[AFR] added card icons with class level info (#7808)

This commit is contained in:
Oleg Agafonov 2021-07-15 23:46:19 +04:00
parent 20245f32f6
commit 2d8be6663b
8 changed files with 67 additions and 3 deletions

View file

@ -552,8 +552,21 @@ public interface Ability extends Controllable, Serializable {
Ability addHint(Hint hint);
/**
* For abilities with static icons
*
* @return
*/
List<CardIcon> getIcons();
/**
* For abilities with dynamic icons
*
* @param game can be null for static calls like copies
* @return
*/
List<CardIcon> getIcons(Game game);
Ability addIcon(CardIcon cardIcon);
Ability addCustomOutcome(Outcome customOutcome);