jelster / space-truckers

A game of getting stuff from Point A to Point B... IN SPAAAACCE!

Home Page:https://space-truckers.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor SpaceTruckerDrivingScreen to use state machine with coroutine to load and initialize

jelster opened this issue · comments

The SpaceTruckerDrivingScreen has a number of discrete steps that need to be followed in sequence, with some of the steps involving asynchronous operations.

JS function generator along with BJS coroutines is an ideal use case for this situation