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
Generated using Crystal 1.14.0
2024-11-26 18:45:27 UTC
struct
Spellstorm::
CardPos
Spellstorm::CardPos
Struct
Value
Object
Defined in:
spellstorm/visual_cards.cr
Constructors
.new
(pos : SF::Vector2(Float32), angle : Float64)
Instance Method Summary
#angle
: Float64
#angle=
(angle : Float64)
#apply
(sf_states)
#invert
#pos
: MyVec
#pos=
(pos : MyVec)
Constructor Detail
def self.
new
(pos : SF::Vector2(Float32), angle : Float64)
#
[
View source
]
Instance Method Detail
def
angle
: Float64
#
[
View source
]
def
angle=
(angle : Float64)
#
[
View source
]
def
apply
(sf_states)
#
[
View source
]
def
invert
#
[
View source
]
def
pos
:
MyVec
#
[
View source
]
def
pos=
(pos :
MyVec
)
#
[
View source
]