class Spellstorm::SourceCard

Defined in:

spellstorm/cards/basic.cr

Instance Method Summary

Instance methods inherited from class Spellstorm::Card

cost : Int32 cost, cost=(cost : Int32) cost=, damage_player(state : CardStateMutable, value : Int32) damage_player, element : Element element, element=(element : Element) element=, estim_shield(state : CardState) : Int32
estim_shield(state : CardStateMutable, *args)
estim_shield
, field_location(state : CardState) : CardLocation
field_location(state : CardStateMutable, *args)
field_location
, get_damage(state : CardState) : Int32
get_damage(state : CardStateMutable, *args)
get_damage
, hook_damage(state : CardStateMutable, other : CardStateMutable, value : Int32) : Int32 hook_damage, hook_played(state : CardStateMutable) hook_played, hook_processing(state : CardStateMutable) hook_processing, hook_shield(state : CardStateMutable, other : CardStateMutable, value : Int32) : Int32 hook_shield, mana_feed(state : CardStateMutable, element : Element, value : Int32) mana_feed, mana_provide(state : CardStateMutable, element : Element, value : Int32) mana_provide, mana_sink(state : CardState, element : Element)
mana_sink(state : CardStateMutable, *args)
mana_sink
, mana_source(state : CardState, element : Element)
mana_source(state : CardStateMutable, *args)
mana_source
, name : String name, name=(name : String) name=, playable(player_state : PlayerState) : Bool playable, power : Int32 power, power=(power : Int32) power=, typ_name : String typ_name

Constructor methods inherited from class Spellstorm::Card

new(name : String, cost : Int32, element : Spellstorm::Element, power : Int32) new

Instance Method Detail

def field_location(state : CardState) : CardLocation #
Description copied from class Spellstorm::Card

redefinable methods


[View source]
def hook_processing(state : CardStateMutable) #

[View source]
def mana_feed(state : CardStateMutable, element : Element, value : Int32) #

[View source]
def mana_provide(state : CardStateMutable, element : Element, value : Int32) #

[View source]
def mana_sink(state : CardState, element : Element) #

[View source]
def mana_source(state : CardState, element : Element) #

[View source]
def typ_name : String #

[View source]