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

Method resetSpriteSheetCache

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

Source from the content-addressed store, hash-verified

105 }
106
107 resetSpriteSheetCache () {
108 this.buildActions()
109 this.spriteSheets = {}
110 this.building = {}
111 }
112
113 isFullyLoaded () {
114 // TODO: Come up with a better way to identify when the model doesn't have everything needed to build the sprite. ie when it's a projection without all the required data.

Callers 1

refreshAnimationMethod · 0.80

Calls 1

buildActionsMethod · 0.95

Tested by

no test coverage detected