mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
8 lines
346 B
JavaScript
8 lines
346 B
JavaScript
/* It started getting confusing where I am reading/writing to the game state, and thus the state started to get inconsistent.
|
|
Creating a bucket to hold it so I can overwrite the gameState object whilst still preserving a reference to the containing bucket.
|
|
*/
|
|
export const stateBucket = {
|
|
currentGameState: null,
|
|
timerWorker: null
|
|
}
|