diff --git a/src/services/GameState.service.js b/src/services/GameState.service.js index 8f59efd..2720368 100644 --- a/src/services/GameState.service.js +++ b/src/services/GameState.service.js @@ -230,6 +230,14 @@ export class GameStateService { return(this.get_player_score() / this.get_progress() ) } + /** + * Get the current game state. + * @return {GameState} + */ + get_game_state() { + return clone(this.current_state) + } + /** * responsible for advancing the game state * will be consisting of