struct Game::Acceleration

Defined in:

game.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cap = 10) #

[View source]

Instance Method Detail

def accel(ax, ay) #

[View source]
def decel_x #

[View source]
def decel_y #

[View source]
def recap(cap) #

[View source]
def speed #

[View source]
def x : Float64 #

[View source]
def x=(x : Float64) #

[View source]
def y : Float64 #

[View source]
def y=(y : Float64) #

[View source]