class Ship

Included Modules

Defined in:

ship.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def blew_up : Bool #

[View source]
def blew_up=(blew_up : Bool) #

[View source]
def can_fire? #

[View source]
def collides_with?(asteroid : Asteroid) #

[View source]
def draw(engine) #

[View source]
def fire #

[View source]
def projected_points #

[View source]
def rotate_left(dt : Float64, amount = @r_engine) #

[View source]
def rotate_right(dt : Float64, amount = @r_engine) #

[View source]
def thrust(dt : Float64) #

[View source]
def update(dt : Float64) #

[View source]