src/StageClasses.js
/**
 * A sprite layer. Sprite layer uses a single image.
 * 
 * @param spritelayer a sprite layer object from the resource file.
 * @returns {SpriteLayer}
 */
A sprite layer. Sprite layer uses a single image.

@param spritelayer a sprite layer object from the resource file.
A sprite layer . Sprite layer uses a single image . @param spritelayer a sprite layer object from the resource file .
function SpriteLayer(spritelayer) {
	this.depth = spritelayer.depth;
	this.sprites = spritelayer.sprites;
	this.createLayers();
}
function SpriteLayer ( spritelayer ) { this . depth = spritelayer . depth ; this . sprites = spritelayer . sprites ; this . createLayers ( ) ; }
A sprite layer.
A sprite layer .