class Spellstorm::PlayerState
- Spellstorm::PlayerState
- Reference
- Object
Defined in:
spellstorm/mechanics.crConstructors
Instance Method Summary
- #at_location(loc : CardLocation) : Array(CardStateMutable)
- #at_location(locs) : Array(CardStateMutable)
- #card_state(card_index)
- #compact_indices
- #count_cards(location : CardLocation)
- #counts : StaticArray(Int32, 7)
- #data : StaticArray(Spellstorm::CardState, 40)
- #data=(data : StaticArray(Spellstorm::CardState, 40))
- #deck : Spellstorm::Deck
- #decrease_mana(element, value)
-
#estim_damage
TODO - optimization?
- #estim_shield
- #game : GameState
- #hp : Int32
- #hp=(hp : Int32)
- #mana_spent : StaticArray(Int32, 5)
- #mana_spent=(mana_spent : StaticArray(Int32, 5))
- #max_mana(element)
- #opponent
- #own_mana : Int32
- #own_mana=(own_mana : Int32)
- #pay_mana(element, value)
- #player : Spellstorm::Player
- #possible_actions
- #refill_hand
- #sink_mana(element, amount)
- #test_damage : Int32
- #test_damage=(test_damage : Int32)
- #test_mana : StaticArray(Int32, 5)
- #test_mana=(test_mana : StaticArray(Int32, 5))