Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
spellstorm
master
Top Level Namespace
Engine
Assets
Background
Font
Game
GameObject
SimplePhysicObject
SpriteObject
Tex
MyVec
RectType
Spellstorm
Action
ActionArray
ActionCard
ActionPlay
Card
CardAnimation
CardIndex
CardLocation
CardPos
CardsDB
CardState
CardStateMutable
DangerCard
Deck
DrawnCard
Element
EnchantCard
GameState
Player
PlayerState
ShieldCard
SourceCard
SpellstormGame
Table
Built with Crystal 1.10.0
2023-11-04 01:00:46 UTC
class
Spellstorm::
Deck
Spellstorm::Deck
Reference
Object
Defined in:
spellstorm/deck.cr
Constructors
.new
Instance Method Summary
#cards
: Array(Card)
#find
(card) : CardIndex
#generate
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
cards
: Array(
Card
)
#
[
View source
]
def
find
(card) :
CardIndex
#
[
View source
]
def
generate
#
[
View source
]