MCPcopy Create free account
hub / github.com/codecombat/codecombat / buildSpriteSheet

Method buildSpriteSheet

app/models/ThangType.js:935–942  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

933 }
934
935 buildSpriteSheet () {
936 this.spriteSheet = new createjs.SpriteSheet({
937 images: [this.image[0]],
938 frames: this.get('frames'),
939 animations: this.get('animations'),
940 })
941 return this.spriteSheet
942 }
943
944 markToLoad () { this.needToLoad = true }
945}

Callers 1

loadImageMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected