class Mallofneeds::Background

Included Modules

Defined in:

mallofneeds.cr

Constant Summary

LIFETIME = 4
MOVE_DELAY = 25
SPEED = 1

Constructors

Instance Method Summary

Constructor Detail

def self.new(image_texture, position, direction : Tuple(Int32, Int32)) #

[View source]

Instance Method Detail

def draw(target, states) #

[View source]
def expired? #

[View source]
def needs_movement? #

[View source]
def update #

[View source]
def update_opacity #

[View source]
def update_position #

[View source]