Expand description
MagicStack — the game stack for spells and abilities.
Mirrors Java’s MagicStack.java from forge.game.zone.
Spells and abilities are pushed onto the stack and resolve LIFO.
Structs§
- Magic
Stack - The game stack. Spells and abilities are added to the top and resolve LIFO.
Mirrors Java’s
MagicStackclass. - Stack
Entry - An entry on the game stack (spell or ability waiting to resolve).
Mirrors Java’s
SpellAbilityStackInstancewhich wraps aSpellAbility. - Undo
Entry - An undo entry tracking a spell that can be undone.