Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cards
master
Cards
Blackjack
CardPlayer
ChipTray
CpuPlayer
Dealer
GameMode
Hand
Result
Key
Manager
Player
Seat
SeatPlayer
Card
CardBack
CardBacks
Bordered
Stripes
CardFront
CardFronts
Standard
CardStack
Chip
Amount
ChipStack
Deck
GameMode
Key
Main
MainMenu
Menu
MenuItem
MenuItemInput
Popup
Rank
SaveMenu
Solitare
Foundation
FoundationSpriteConverter
GameMode
Stack
Stock
Waste
StandardDeck
Suit
TestDeck
Built with Crystal 1.9.2
2023-10-07 18:23:33 UTC
abstract class
Cards::GameMode
Cards::GameMode
Reference
Object
Included Modules
JSON::Serializable
Direct Known Subclasses
Cards::Blackjack::GameMode
Cards::Solitare::GameMode
Defined in:
cards/game_mode.cr
Constructors
.new
(pull : JSON::PullParser)
.new
Instance Method Summary
#draw
#exit?
#game_over?
: Bool
#update
(frame_time)
Constructor Detail
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
def self.
new
#
[
View source
]
Instance Method Detail
def
draw
#
[
View source
]
def
exit?
#
[
View source
]
def
game_over?
: Bool
#
[
View source
]
def
update
(frame_time)
#
[
View source
]