Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
VectorSprite
Inherits
Reference
<
Object
Constructors
new
(position :
Rl::Vector2
, shapes :
Array
(
Shape
), virtual_screen_width :
Float64
, virtual_screen_height :
Float64
)
Source
Instance methods
draw
Source
position
Source
position=
(position :
Raylib::Vector2
)
Source
rotate
(deg)
Source
rotation
Source
rotation=
(rotation :
Float64
)
Source
update
(deg)
Source
update
Source
velocity
Source
velocity=
(velocity :
Raylib::Vector2
)
Source