import { makeAutoObservable, } from 'mobx';

class GameStore {

  constructor() {
    makeAutoObservable(this);
  }


  startInfo: {
    recordId?: number | string
    countdownSeconds?: number
  } = {}

  gameInfo: {
    score: number,
    remainTimes: number,
    level: number,
    maxScore: number,
  } = {
    score: 0,
    remainTimes: 0,
    level: 0,
    maxScore: 0,
  }

}

export default (new GameStore());
