diff --git a/src/utils/Game.ts b/src/utils/Game.ts index 0930fba..6858d4a 100644 --- a/src/utils/Game.ts +++ b/src/utils/Game.ts @@ -35,4 +35,8 @@ class Game { players: this.#_players, }, undefined, `\t`) }; + + public static fromJSON(data: string): Game { + let db: database = JSON.parse(data) as database; + }; }; \ No newline at end of file