Handles an atlas exported from Spine. This class is created during Spine loading, and should probably never be used on its own. Code in this class is pulled from https://github.com/pixijs/pixi-spine/blob/master/src/SpineRuntime/Atlas.js
addImage
name
texture
Adds a standalone image as a page and region
name
String
The name of the texture, so it can get recognized by the Spine skeleton data.
texture
PIXI.Texture
The loaded texture for the image to add.
fromTextureAtlas
atlas
[name]
Sets up this SpineAtlas from an instance of our TextureAtlas class to allow for the use of atlases exported from TexturePacker.
atlas
springroll.pixi.TextureAtlas
The atlas to generate from
[name]
String
optional
The name to use for the name of the singular AtlasPage.