Class: SncFetchLandCard
- Inherits:
-
FetchLandCard
- Object
- Card
- TapLandCard
- FetchLandCard
- SncFetchLandCard
- Defined in:
- lib/manasimu/card/snc_fetchland.rb
Instance Attribute Summary
Attributes inherited from FetchLandCard
Attributes inherited from Card
Instance Method Summary collapse
Methods inherited from FetchLandCard
#first_produce_symbol=, #mana_produced?, #mana_source, #mana_source=, #reset, #resolve
Methods inherited from TapLandCard
#reset, #resolve, #step_in_plays, #tapped?, #tappend=
Methods inherited from Card
#can_play?, #color_identity, #color_identity_size, #converted_mana_cost, #drawed, #edges, #first_produce_symbol=, #initialize, #is_land?, #mana_cost, #mana_produced?, #mana_source, #mana_source?, #mana_source_size, #max_flow, #playable?, #played, #played?, #price, #reset, #resolve, #set_code, #step_in_hands, #step_in_plays, #tapped?, #to_s, #type, #types
Constructor Details
This class inherits a constructor from Card
Instance Method Details
#configure ⇒ Object
3 4 5 6 7 |
# File 'lib/manasimu/card/snc_fetchland.rb', line 3 def configure mana_types = ManaType.search_text_by_land_type(card_type.text) super.mana_source = mana_types.map {|mana_type| mana_type.color}.flatten.uniq self end |