begin work on method to create a Game object from JSON

This commit is contained in:
Oliver-Akins 2020-09-29 22:58:33 -06:00
parent cb492fd275
commit cfb915724f

View file

@ -35,4 +35,8 @@ class Game {
players: this.#_players, players: this.#_players,
}, undefined, `\t`) }, undefined, `\t`)
}; };
public static fromJSON(data: string): Game {
let db: database = JSON.parse(data) as database;
};
}; };