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
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
]