forked from External/mage
fix additional test failures
This commit is contained in:
parent
19bb4e7cd3
commit
501b7e882b
5 changed files with 45 additions and 40 deletions
|
|
@ -250,6 +250,16 @@ public interface Card extends MageObject, Ownerable {
|
|||
|
||||
List<UUID> getAttachments();
|
||||
|
||||
/**
|
||||
* @param attachment can be any object: card, permanent, token
|
||||
* @param source can be null for default checks like state base
|
||||
* @param game
|
||||
* @param silentMode - use it to ignore warning message for users (e.g. for
|
||||
* checking only)
|
||||
* @return
|
||||
*/
|
||||
boolean cantBeAttachedBy(MageObject attachment, Ability source, Game game, boolean silentMode);
|
||||
|
||||
boolean addAttachment(UUID permanentId, Ability source, Game game);
|
||||
|
||||
boolean removeAttachment(UUID permanentId, Ability source, Game game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue