playing and pausing the timer

This commit is contained in:
Alec
2021-11-30 02:50:00 -05:00
parent dfe6edeb96
commit 5c869182a2
12 changed files with 209 additions and 60 deletions

View File

@@ -5,7 +5,9 @@ const globals = {
CLIENT_COMMANDS: {
FETCH_GAME_STATE: 'fetchGameState',
GET_ENVIRONMENT: 'getEnvironment',
START_GAME: 'startGame'
START_GAME: 'startGame',
PAUSE_TIMER: 'pauseTimer',
RESUME_TIMER: 'resumeTimer'
},
STATUS: {
LOBBY: "lobby",
@@ -39,7 +41,9 @@ const globals = {
GAME_PROCESS_COMMANDS: {
END_GAME: "endGame",
START_GAME: "startGame",
START_TIMER: "startTimer"
START_TIMER: "startTimer",
PAUSE_TIMER: "pauseTimer",
RESUME_TIMER: "resumeTimer"
}
};