(options)
| 23 | } |
| 24 | |
| 25 | constructor (options) { |
| 26 | super(options) |
| 27 | this.achievement = options.achievement |
| 28 | this.earnedAchievement = options.earnedAchievement |
| 29 | this.container = options.container || this.getContainer() |
| 30 | this.popup = options.container |
| 31 | if (this.popup == null) { this.popup = true } |
| 32 | if (this.popup) { this.className += ' popup' } |
| 33 | this.render() |
| 34 | } |
| 35 | |
| 36 | calculateData () { |
| 37 | let achievedXP, data |
nothing calls this directly
no test coverage detected