{"size": 815, "ext": "js", "max_stars_repo_path": "lib/disneytokyo/tokyodisneyresortmagickingdom.js", "max_stars_repo_name": "matounet51/test", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "lib/disneytokyo/tokyodisneyresortmagickingdom.js", "max_issues_repo_name": "matounet51/test", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lib/disneytokyo/tokyodisneyresortmagickingdom.js", "max_forks_repo_name": "matounet51/test", "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": 27.1666666667, "max_line_length": 73, "alphanum_fraction": 0.6957055215}
const DisneyTokyoPark = require('./disneyTokyoBase');

/**
 * Tokyo Disney Resort - Magic Kingdom
 * @class
 * @extends DisneyTokyoPark
 */
class TokyoDisneyResortMagicKingdom extends DisneyTokyoPark {
  /**
   * Create a new TokyoDisneyResortMagicKingdom object
   */
  constructor(options = {}) {
    options.name = options.name || 'Tokyo Disney Resort - Magic Kingdom';
    options.timezone = options.timezone || 'Asia/Tokyo';

    // set park's location as it's entrance
    options.latitude = options.latitude || 35.634848;
    options.longitude = options.longitude || 139.879295;

    // Magic Kingdom Park ID
    options.parkId = options.parkId || 'tdl';
    options.parkKind = options.parkKind || 1;

    // inherit from base class
    super(options);
  }
}

module.exports = TokyoDisneyResortMagicKingdom;
