abstract class Cards::CardBack

Direct Known Subclasses

Defined in:

cards/card_back.cr

Constant Summary

BORDER = 3

Constructors

Instance Method Summary

Constructor Detail

def self.new(color : Game::Color = Game::Color::Red, alt_color : Game::Color = Game::Color::Black) #

[View source]

Instance Method Detail

def alt_color : Game::Color #

[View source]
def color : Game::Color #

[View source]
def draw(screen_x, screen_y, width, height) #

[View source]
def draw_border(screen_x, screen_y, width, height) #

[View source]