Class: Ability::CopyHero

Inherits:
BaseChoice show all
Defined in:
lib/ascension/ability.rb

Instance Attribute Summary

Attributes inherited from Base

#parent_card

Instance Method Summary collapse

Methods inherited from BaseChoice

#call, #card_choice, #side_for_card_choice

Methods inherited from Base

#call_until_nil, #choice_instance

Instance Method Details

#action(card, side) ⇒ Object



181
182
183
# File 'lib/ascension/ability.rb', line 181

def action(card,side)
  side.played.apply(card)
end

#choosable_cards(side) ⇒ Object



178
179
180
# File 'lib/ascension/ability.rb', line 178

def choosable_cards(side)
  side.played
end