class Spellstorm::Table

Defined in:

spellstorm/table.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(decks) #

[View source]

Instance Method Detail

def animate(card, oldpos, newpos) #

[View source]
def animate(card) #

[View source]
def animations : Array(Spellstorm::CardAnimation) #

[View source]
def check_positions #

[View source]
def draw(target, states) #

[View source]
def find_card(x, y) #

[View source]
def game_state : GameState #

[View source]
def game_state=(game_state : GameState) #

[View source]
def process_animations #

[View source]
def reset_positions #

[View source]
def selected_card : DrawnCard | Nil #

[View source]
def selected_card=(selected_card : DrawnCard | Nil) #

[View source]
def update_checkbox #

[View source]