Open stolsky opened 2 years ago
implement a timer using tick module that changes the state if run up
as part of the game loop
game_loop (dt) { update(dt) render(ctx) } update (dt) { update_states(dt) ... } Tick.run(game_loop)
implement a timer using tick module that changes the state if run up