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:32 UTC
class
Cards::SaveMenu
Cards::SaveMenu
Cards::Popup
Cards::Menu
Reference
Object
Defined in:
cards/save_menu.cr
Constructors
.new
(title =
"save"
)
Instance Method Summary
#back
#name
#on
(item, &block : Proc(Nil))
#select_item
Instance methods inherited from class
Cards::Popup
back
back
,
draw
draw
,
on(item, &block : Proc(Nil))
on
,
select_item
select_item
,
title : String
title
Constructor methods inherited from class
Cards::Popup
new(title : String =
""
, items =
[]
of
String
)
new
Instance methods inherited from class
Cards::Menu
arrange_items
arrange_items
,
back
back
,
done=(done : Bool)
done=
,
done? : Bool
done?
,
draw
draw
,
draw_background
draw_background
,
draw_header(text : String)
draw_header
,
exit? : Bool
exit?
,
focus(asc =
true
, wrap =
true
)
focus
,
focus_last
focus_last
,
focus_next
focus_next
,
hide
hide
,
items=(items : Array(String))
items=
,
items_height
items_height
,
items_width
items_width
,
select_item
select_item
,
show
show
,
shown? : Bool
shown?
,
update(frame_time)
update
Constructor methods inherited from class
Cards::Menu
new(items : Array(String))
new
Constructor Detail
def self.
new
(title =
"save"
)
#
[
View source
]
Instance Method Detail
def
back
#
[
View source
]
def
name
#
[
View source
]
def
on
(item, &block : Proc(Nil))
#
[
View source
]
def
select_item
#
[
View source
]