module

Systems::Spawner

Constants

PIPE_BASE_HEIGHT = 520.0
PIPE_DISTANCE = 396.0
PIPE_HEIGHT_MULT = 200.0
PIPE_OFFSET = 360.0
SCORE_TRIGGER_OFFSET = 44.0

Class methods

spawn_bird(world : World)
Source
spawn_bottom_pipe(world : World, x : Float32, y : Float32)
Source
spawn_score_trigger(world : World, x : Float32)
Source
spawn_top_pipe(world : World, x : Float32, y : Float32)
Source
update(world : World)
Source