Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
GSF::Movable
Inherits
Reference
<
Object
Constructors
new
(x :
Float32
|
Int32
, y :
Float32
|
Int32
)
Source
Instance methods
draw
(window :
SF::RenderWindow
)
Source
dx
Source
dy
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
x
Source
y
Source