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::
CardAnimation
Spellstorm::CardAnimation
Reference
Object
Defined in:
spellstorm/visual_cards.cr
Constructors
.new
(card : Spellstorm::DrawnCard, start : CardPos, end __arg0 : CardPos)
Instance Method Summary
#card
: DrawnCard
#counter
: Int32
#cur_pos
: CardPos
#one_step
#process
Constructor Detail
def self.
new
(card :
Spellstorm::DrawnCard
, start :
CardPos
, end __arg0 :
CardPos
)
#
[
View source
]
Instance Method Detail
def
card
:
DrawnCard
#
[
View source
]
def
counter
: Int32
#
[
View source
]
def
cur_pos
:
CardPos
#
[
View source
]
def
one_step
#
[
View source
]
def
process
#
[
View source
]