class Shoot::Ship

Defined in:

shoot/ship.cr

Instance Method Summary

Instance methods inherited from class Shoot::ShipBase

animations : GSF::Animations animations, draw(window : SF::RenderWindow) draw, fire fire, fire_sound : SF::Sound fire_sound, fire_timer : GSF::Timer fire_timer, lasers : Array(Shoot::Laser) lasers, move(dx : Int32, dy : Int32) move, update(frame_time, keys : Keys) update, update_movement(keys : Keys) update_movement, x : Int32 x, y : Int32 y

Constructor methods inherited from class Shoot::ShipBase

new(x : Int32 = 0, y : Int32 = 0) new

Instance Method Detail

def update_movement(keys : Keys) #

[View source]