Before this every instance of the MorseBanner had its own state, but as we want to use the state also for other purposes, it doesn't make sense to keep it in each instance. Therefore we now have an autoload that keeps the state as a singleton. The MorseBanner now gets its state from the autoload, so no more communication is needed between the main part and the MorseBanner. |
||
---|---|---|
.. | ||
morse_state.gd |