forked from External/mage
Refactor: added docs for a copy stack object code (#7662);
This commit is contained in:
parent
c328c71ef9
commit
f21c492ce2
16 changed files with 136 additions and 85 deletions
|
|
@ -13,5 +13,12 @@ public interface StackObjectCopyApplier extends Serializable {
|
|||
|
||||
void modifySpell(StackObject stackObject, Game game);
|
||||
|
||||
MageObjectReferencePredicate getNextPredicate();
|
||||
/**
|
||||
* For multi copies: allows change new target filter for each next copy (e.g. add some restict)
|
||||
* Return null to use same target type as original spell
|
||||
*
|
||||
* @param copyNumber current number of copy, starts with 1
|
||||
* @return
|
||||
*/
|
||||
MageObjectReferencePredicate getNextNewTargetType(int copyNumber);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue