class Cards::CardFronts::Standard

Defined in:

cards/card_fronts/standard.cr

Constant Summary

SPACING = 10

Constructors

Instance Method Summary

Instance methods inherited from class Cards::CardFront

draw(card : Card, screen_x, screen_y) draw, draw_ace(image : Game::Image, suit : Suit, rank : Rank) draw_ace, draw_back(card : Card, screen_x, screen_y) draw_back, draw_face(image : Game::Image, suit : Suit, rank : Rank) draw_face, draw_heading(image : Game::Image, suit : Suit, rank : Rank) draw_heading, draw_joker(image : Game::Image, suit : Suit, rank : Rank) draw_joker, draw_numeral(image : Game::Image, suit : Suit, rank : Rank) draw_numeral, draw_rank(image : Game::Image, suit : Suit, rank : Rank) draw_rank, height height, width width

Class methods inherited from class Cards::CardFront

height height, width width

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def draw(card : Card, screen_x, screen_y) #

[View source]
def draw_ace(image : Game::Image, suit : Suit, rank : Rank) #

[View source]
def draw_face(image : Game::Image, suit : Suit, rank : Rank) #

[View source]
def draw_heading(image : Game::Image, suit : Suit, rank : Rank) #

[View source]
def draw_joker(image : Game::Image, suit : Suit, rank : Rank) #

[View source]
def draw_joker_heading(image : Game::Image, suit : Suit, rank : Rank) #

[View source]
def draw_numeral(image : Game::Image, suit : Suit, rank : Rank) #

[View source]