abstract class Spellstorm::Card
- Spellstorm::Card
- Reference
- Object
Direct Known Subclasses
- Spellstorm::ActionCard
- Spellstorm::DangerCard
- Spellstorm::EnchantCard
- Spellstorm::ShieldCard
- Spellstorm::SourceCard
Defined in:
spellstorm/cards.crConstructors
Instance Method Summary
- #cost : Int32
- #cost=(cost : Int32)
- #damage_player(state : CardStateMutable, value : Int32)
- #element : Element
- #element=(element : Element)
- #estim_shield(state : CardState) : Int32
- #estim_shield(state : CardStateMutable, *args)
-
#field_location(state : CardState) : CardLocation
redefinable methods
- #field_location(state : CardStateMutable, *args)
- #get_damage(state : CardState) : Int32
- #get_damage(state : CardStateMutable, *args)
- #hook_damage(state : CardStateMutable, other : CardStateMutable, value : Int32) : Int32
- #hook_played(state : CardStateMutable)
- #hook_processing(state : CardStateMutable)
- #hook_shield(state : CardStateMutable, other : CardStateMutable, value : Int32) : Int32
- #mana_feed(state : CardStateMutable, element : Element, value : Int32)
- #mana_provide(state : CardStateMutable, element : Element, value : Int32)
- #mana_sink(state : CardState, element : Element)
- #mana_sink(state : CardStateMutable, *args)
- #mana_source(state : CardState, element : Element)
- #mana_source(state : CardStateMutable, *args)
- #name : String
- #name=(name : String)
- #playable(player_state : PlayerState) : Bool
- #power : Int32
- #power=(power : Int32)
- #typ_name : String
Macro Summary
Constructor Detail
def self.new(name : String, cost : Int32, element : Spellstorm::Element, power : Int32)
#