Closed Gerrudo closed 2 months ago
https://github.com/Gerrudo/reticulating-splines/commit/558100d1a7eca6da9f44e3bb15d2cf53162cc0fa Gutted Simulation Manager and move functionality into Producer using coroutines.
Now each building will run seperately and simply add or subtract resources from a pool stored in Simulation Manager.
Overhauled the Statistic Panel along with this
Currently Simulation Manager is handling all the collection of variables from our resources and looping through each one.
Instead we should use the building class to allow each building to execute their methods individually and send these updates to simulation manager.
An example of using coroutines: https://www.youtube.com/watch?v=_ovdlIb_ER0