{"size": 261, "ext": "js", "max_stars_repo_path": "demos/planetario/AstralBody.js", "max_stars_repo_name": "GorillaBus/ddw", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "demos/planetario/AstralBody.js", "max_issues_repo_name": "GorillaBus/ddw", "max_issues_repo_issues_event_min_datetime": "2021-03-10T09:08:59.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-10T09:08:59.000Z", "max_forks_repo_path": "demos/planetario/AstralBody.js", "max_forks_repo_name": "GorillaBus/ddw", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 14.5, "max_line_length": 50, "alphanum_fraction": 0.6206896552}
class AstralBody extends ddw.Body {

  constructor(settings) {
    super(settings);
    this.orbits = [];
    this.drawShadow = settings.drawShadow || true;
  }

  addOrbit(body) {
    this.orbits.push(body);
  }

  getOrbits() {
    return this.orbits;
  }

}
