class Area { slug = ''; monsterProgress = 0; trainerProgress = 0; isCompleted = false; constructor (slug) { this.slug = slug; } async initialize () {} get encounters () { return DB.areas[this.slug].encounters; } get requiredEncounters () { return DB.areas[this.slug].requiredEncounters; } get trainers () { return DB.areas[this.slug].trainers; } get environment () { return DB.areas[this.slug].environment; } get previousArea () { return DB.areas[this.slug].previousArea; } get nextArea () { return DB.areas[this.slug].nextArea; } }