(options)
| 341 | } |
| 342 | |
| 343 | spriteSheetKey (options) { |
| 344 | let colorConfigs = [] |
| 345 | const object = options.colorConfig || {} |
| 346 | for (const groupName in object) { |
| 347 | const config = object[groupName] |
| 348 | colorConfigs.push(`${groupName}:${config.hue}|${config.saturation}|${config.lightness}`) |
| 349 | } |
| 350 | colorConfigs = colorConfigs.join(',') |
| 351 | const portraitOnly = !!options.portraitOnly |
| 352 | return `${this.get('name')} - ${options.resolutionFactor} - ${colorConfigs} - ${portraitOnly}` |
| 353 | } |
| 354 | |
| 355 | getHeroShortName () { return ThangTypeLib.getHeroShortName(this.attributes) } |
| 356 |
no test coverage detected