{"size": 652, "ext": "js", "max_stars_repo_path": "goog/asteroids/components/game_state.js", "max_stars_repo_name": "darkoverlordofdata/goog-asteroids", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "goog/asteroids/components/game_state.js", "max_issues_repo_name": "darkoverlordofdata/goog-asteroids", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "goog/asteroids/components/game_state.js", "max_forks_repo_name": "darkoverlordofdata/goog-asteroids", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.2857142857, "max_line_length": 67, "alphanum_fraction": 0.7055214724}
goog.provide('asteroids.components.GameState');

asteroids.components.GameState = function() {}

/** @type {string} */
asteroids.components.GameState.className = 'GameState';

/** @type {number} */
asteroids.components.GameState.prototype.lives = 3;

/** @type {number} */
asteroids.components.GameState.prototype.level = 0;

/** @type {number} */
asteroids.components.GameState.prototype.hits = 0;

/** @type {boolean} */
asteroids.components.GameState.prototype.playing = false;

/**
 * @constructor
 */
asteroids.components.GameState.prototype.setForStart = function() {
  this.lives = 3;
  this.level = 0;
  this.hits = 0;
  this.playing = true;
};