* Suspend ability - fixed that suspend can be activated from opponent's hand;

This commit is contained in:
Oleg Agafonov 2021-08-20 15:40:42 +04:00
parent fb4065ba66
commit 9fa487e60a
9 changed files with 97 additions and 27 deletions

View file

@ -44,6 +44,13 @@ public interface ActivatedAbility extends Ability {
}
}
/**
* WARNING, don't forget to call super.canActivate on override in card's code
*
* @param playerId
* @param game
* @return
*/
ActivationStatus canActivate(UUID playerId, Game game); // has to return a reference to the permitting ability/source
void setMayActivate(TargetController mayActivate);