Expand description
AnimateEffectBase — abstract base for animate effects.
Mirrors Java’s AnimateEffectBase.java.
Provides shared logic for AnimateEffect and AnimateAllEffect
that handles setting power/toughness, types, colors, and keywords.
Structs§
- Animate
Params - Parsed animate parameters from a spell ability. Captures the fields that animate effects need to apply.
Functions§
- do_
animate - Apply animate effects to a single card.
Mirrors Java’s
AnimateEffectBase.doAnimate(Card, SpellAbility, ...). - parse_
animate_ params - Parse shared animate parameters from a spell ability.
Used by both
animate_effectandanimate_all_effect. - resolve
- Resolve the animate effect for targeted/defined cards.
Mirrors Java’s
AnimateEffectBase.resolve(). - run
- Run the animate effect (entry point that parses params then applies).
Mirrors Java’s
AnimateEffectBase.run().