class Ship

Defined in:

lib/ship.cr

Constructors

Instance Method Summary

Instance methods inherited from class VectorSprite

draw draw, position : Raylib::Vector2 position, position=(position : Raylib::Vector2) position=, rotate(deg) rotate, rotation : Float64 rotation, rotation=(rotation : Float64) rotation=, update(deg)
update
update
, velocity : Raylib::Vector2 velocity, velocity=(velocity : Raylib::Vector2) velocity=

Constructor methods inherited from class VectorSprite

new(position : Rl::Vector2, shapes : Array(Shape), virtual_screen_width : Float64, virtual_screen_height : Float64) new

Constructor Detail

def self.new(position : Rl::Vector2, virtual_screen_width, virtual_screen_height) #

[View source]

Instance Method Detail

def accelerate(delta_time : Float64) #

[View source]
def hide_thrust #

[View source]
def rotate_ccl(delta_time : Float64) #

[View source]
def rotate_cl(delta_time : Float64) #

[View source]
def show_thrust #

[View source]
def slow_down #

[View source]