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
abstract class
Engine::
SpriteObject
Engine::SpriteObject
Engine::GameObject
Reference
Object
Direct Known Subclasses
Engine::SimplePhysicObject
Defined in:
spellstorm/engine/objects.cr
Constructors
.new
(owner, x, y, radius)
Instance Method Summary
#draw
(target : SF::RenderTarget)
#my_tex
: SF::Texture
Instance methods inherited from class
Engine::GameObject
dead : Bool
dead
,
dead=(dead : Bool)
dead=
,
draw(target : SF::RenderTarget)
draw
,
pos : MyVec
pos
,
pos=(pos : MyVec)
pos=
,
process
process
Constructor methods inherited from class
Engine::GameObject
new(owner, x, y)
new
Constructor Detail
def self.
new
(owner, x, y, radius)
#
[
View source
]
Instance Method Detail
def
draw
(target : SF::RenderTarget)
#
[
View source
]
abstract def
my_tex
: SF::Texture
#
[
View source
]