Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Game::Player
Inherits
Reference
<
Object
Constructors
new
(x :
Float64
= 0.0, y :
Float64
= 0.0)
Source
Instance methods
move_down
Source
move_left
Source
move_right
Source
move_up
Source
sprite
Source
sprite=
(sprite :
SF::CircleShape
)
Source
update
Source
x
Source
x=
(x :
Float64
)
Source
y
Source
y=
(y :
Float64
)
Source