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
Engine::
Background
Engine::Background
Engine::GameObject
Reference
Object
Defined in:
spellstorm/engine/objects.cr
Constructors
.new
(owner, tex : SF::Texture)
Instance Method Summary
#draw
(target : SF::RenderTarget)
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, tex : SF::Texture)
#
[
View source
]
Instance Method Detail
def
draw
(target : SF::RenderTarget)
#
[
View source
]