12345 |
- {
- "code": "export default class GameManager {\r\n constructor() {\r\n this.easterCount = 0;\r\n }\r\n static get Instance() {\r\n return GameManager.instance || (GameManager.instance = new GameManager());\r\n }\r\n GameStart() {\r\n }\r\n GameWin() {\r\n }\r\n GameOver() {\r\n }\r\n ResetGame(ischangeRoad) {\r\n }\r\n Pause() {\r\n if (this.easterCount >= 1) {\r\n this.GameOver();\r\n return;\r\n }\r\n this.easterCount++;\r\n }\r\n Easter() {\r\n }\r\n NextLevel() {\r\n }\r\n ReStart() {\r\n }\r\n}\r\n",
- "references": []
- }
|