class VectorSprite
- VectorSprite
- Reference
- Object
Direct Known Subclasses
Defined in:
lib/vector-sprite.crConstructors
Instance Method Summary
- #draw
- #position : Raylib::Vector2
- #position=(position : Raylib::Vector2)
- #rotate(deg)
- #rotation : Float64
- #rotation=(rotation : Float64)
- #update(deg)
- #update
- #velocity : Raylib::Vector2
- #velocity=(velocity : Raylib::Vector2)
Constructor Detail
def self.new(position : Rl::Vector2, shapes : Array(Shape), virtual_screen_width : Float64, virtual_screen_height : Float64)
#