class Spellstorm::DrawnCard

Defined in:

spellstorm/visual_cards.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(card_index : Int32, states : GameState, deck : Deck, player : Spellstorm::Player) #

[View source]

Instance Method Detail

def calc_pos(location, index) #

[View source]
def calc_pos #

[View source]
def card #

[View source]
def card_index : CardIndex #

[View source]
def draw(target : SF::RenderTarget, sf_states : SF::RenderStates) #

[View source]
def draw_big(target : SF::RenderTarget, sf_states : SF::RenderStates) #

[View source]
def draw_checkbox(target : SF::RenderTarget, sf_states : SF::RenderStates, checkbox) #

[View source]
def my_state : CardStateMutable #

[View source]
def open : Bool #

[View source]
def open=(open : Bool) #

[View source]
def player : Player #

[View source]
def pos : CardPos #

[View source]
def pos=(pos : CardPos) #

[View source]
def reverted #

[View source]
def should_open #

[View source]
def visual_index #

[View source]