mirror of
https://github.com/AlecM33/Werewolf.git
synced 2026-01-01 16:59:29 +01:00
working name change
This commit is contained in:
7
client/modules/StateBucket.js
Normal file
7
client/modules/StateBucket.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/* 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
|
||||
}
|
||||
Reference in New Issue
Block a user