Module: Battle::Effects::Mechanics::Mark
- Included in:
- HelpingHand::Mark, LeechSeed::Mark
- Defined in:
- docs/5_Battle_06_Effects_01_Mechanics.rb
Overview
Effect linked to another, if the other die, this one dies too.
Requirement
-
Call initialize_mark
Instance Attribute Summary collapse
-
#mark_origin ⇒ EffectBase
readonly
Get the origin mark.
Instance Method Summary collapse
-
#dead? ⇒ Boolean
(also: #mark_dead?)
Tell if the effect is dead.
-
#initialize_mark(origin)
Initialize the mechanic.
Instance Attribute Details
#mark_origin ⇒ EffectBase (readonly)
Get the origin mark
98 99 100 |
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 98 def mark_origin @mark_origin end |
Instance Method Details
#dead? ⇒ Boolean Also known as: mark_dead?
Tell if the effect is dead
105 106 |
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 105 def dead? end |
#initialize_mark(origin)
Initialize the mechanic
101 102 |
# File 'docs/5_Battle_06_Effects_01_Mechanics.rb', line 101 def initialize_mark(origin) end |