forked from External/mage
NPH - Cathedral Membrane, Omen Machine, Unwinding Clock
This commit is contained in:
parent
84894fbaad
commit
2d93cd3174
9 changed files with 524 additions and 17 deletions
|
|
@ -68,6 +68,15 @@ public class SpellStack extends Stack<StackObject> {
|
|||
}
|
||||
}
|
||||
|
||||
public void remove(StackObject object) {
|
||||
for (StackObject spell: this) {
|
||||
if (spell.getId().equals(object.getId())) {
|
||||
super.remove(spell);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void checkTriggers(GameEvent event, Game game) {
|
||||
for (StackObject stackObject: this) {
|
||||
stackObject.checkTriggers(event, game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue