module Game

Extended Modules

Defined in:

extract.cr
game.cr

Constant Summary

ACCEL = Acceleration.new
BACKDROP = Level::ChemicalPlantBg.as_tile(VIEW)
CLOCK = SF::Clock.new
LEVEL = Level::AquaticRuin.as_tile(VIEW)
VIEW = SF::View.new(SF.float_rect(0, 0, 320, 240))
WINDOW = SF::RenderWindow.new(SF::VideoMode.new(1280, 960), "SFML Window", SF::Style::Close)

Instance Method Summary

Instance Method Detail

def draw(&) #

[View source]
def loop #

[View source]