Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crgame
0.0.1
Top Level Namespace
Action
Actor
Direction
Collider
Capsule
Circle
Group
Rectangle
Enemy
Engine
Entity
Game
Hitbox
Hurtbox
Input
Button
Config
InputDisplay
Math
Physical
Player
PlayerDisplay
Scene
Solid
TestBox
Vector
Built with Crystal 1.9.2
2023-10-07 18:51:56 UTC
class
Action
Action
Entity
SF::Transformable
Reference
Object
Defined in:
entity.cr
Constructors
.new
(&)
Instance Method Summary
#calls
: Hash(Float32, -> Nil)
#calls=
(calls : Hash(Float32, -> _))
#frame
(range : Range, &proc)
#frame
(numb, &proc)
#unload
#update
Instance methods inherited from class
Entity
add(entity : Entity)
add
,
children : Array(Entity)
children
,
children=(children : Array(Entity))
children=
,
draw(target : SF::RenderTarget, states : SF::RenderStates)
draw
,
finalize
finalize
,
load
load
,
offset : Proc(Vector)
offset
,
offset=(offset : Proc(Vector))
offset=
,
owner : Entity | Nil
owner
,
owner=(owner : Entity | Nil)
owner=
,
position
position
,
remove(entity : Entity)
remove
,
render(target, states)
render
,
unload
unload
,
update : Bool
update
Constructor methods inherited from class
Entity
new
new
Constructor Detail
def self.
new
(&)
#
[
View source
]
Instance Method Detail
def
calls
: Hash(Float32, -> Nil)
#
[
View source
]
def
calls=
(calls : Hash(Float32, -> _))
#
[
View source
]
def
frame
(range : Range, &proc)
#
[
View source
]
def
frame
(numb, &proc)
#
[
View source
]
def
unload
#
[
View source
]
def
update
#
[
View source
]