Class: Ability::BanishCenter

Inherits:
Banish 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



99
100
101
# File 'lib/ascension/ability.rb', line 99

def action(card,side)
  side.game.center.banish(card)
end

#choosable_cards(side) ⇒ Object



102
103
104
# File 'lib/ascension/ability.rb', line 102

def choosable_cards(side)
  side.game.center
end