class

GSF::Movable

Inherits Reference < Object

Constructors

new(x : Float32 | Int32, y : Float32 | Int32)
Source

Instance methods

draw(window : SF::RenderWindow)
Source
jump(x : Float32 | Int32, y : Float32 | Int32)
Source
move(dx, dy)
Source
move_with_speed(frame_time, speed)
Source
moved?
Source
moving?
Source
update_movement(frame_time : Float32)
Source