Class: Ability::TakeOpponentsCard
- Inherits:
-
BaseChoice
- Object
- Base
- BaseChoice
- Ability::TakeOpponentsCard
- Defined in:
- lib/ascension/ability.rb
Instance Attribute Summary
Attributes inherited from Base
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
217 218 219 220 |
# File 'lib/ascension/ability.rb', line 217 def action(card,side) side.other_side.hand.remove(card) side.hand << card end |
#choosable_cards(side) ⇒ Object
214 215 216 |
# File 'lib/ascension/ability.rb', line 214 def choosable_cards(side) side.other_side.hand end |