Actor
Inherits SF::Drawable < Reference < Object
Constructors
new(position : SF::Vector2f)
SourceInstance methods
alive?
Sourceanimation_facing(direction)
Sourceanimation_rect(rect, i) : SF::IntRect
Sourceanimation_reset(direction)
Sourceanimation_step
Sourceapply_speed(direction : SF::Vector2f)
Sourcecollides?(other)
Sourcedead?
Sourcedraw(target, states)
Sourceglobal_bounds
Sourcehit
Sourcemove(direction : SF::Vector2f)
Sourcenext_animation_step
Sourcenormalize_movement(direction : SF::Vector2f)
Sourceposition
Sourceposition=(position : SF::Vector2(Float32))
Sourceupdate(time)
Source