12 lines
209 B
JavaScript
12 lines
209 B
JavaScript
|
export const state = () => ({
|
||
|
state: "...",
|
||
|
phase: "...",
|
||
|
})
|
||
|
|
||
|
export const mutations = {
|
||
|
setStateAndPhase(state, { state: gameState, phase }) {
|
||
|
state.state = gameState
|
||
|
state.phase = phase
|
||
|
},
|
||
|
}
|