This commit is contained in:
Scott Erickson 2014-03-05 12:53:48 -08:00
parent af265ebee8
commit fc42043cb8

View file

@ -157,7 +157,8 @@ module.exports = class ThangType extends CocoModel
for groupName, config of options.colorConfig or {}
colorConfigs.push "#{groupName}:#{config.hue}|#{config.saturation}|#{config.lightness}"
colorConfigs = colorConfigs.join ','
"#{@get('name')} - #{options.resolutionFactor} - #{colorConfigs}"
portraitOnly = !!options.portraitOnly
"#{@get('name')} - #{options.resolutionFactor} - #{colorConfigs} - #{portraitOnly}"
getPortraitImage: (spriteOptionsOrKey, size=100) ->
src = @getPortraitSource(spriteOptionsOrKey, size)