src/render/Render.js
/**
 * Holds a layer of sprites that can overlap
 * 
 * @param tiles is array of tuples (EMBImage, x, y, centered, flipped)
 * @param rectangles describes bounding rectangles
 * @param rect is a bounding rectangle
 * @returns {RenderSpriteLayer}
 */
Holds a layer of sprites that can overlap

@param tiles is array of tuples (EMBImage, x, y, centered, flipped)
@param rectangles describes bounding rectangles
@param rect is a bounding rectangle
@returns {RenderSpriteLayer}
Holds a layer of sprites that can overlap @param tiles is array of tuples ( EMBImage x y centered flipped ) @param rectangles describes bounding rectangles @param rect is a bounding rectangle @returns { RenderSpriteLayer }
function RenderSpriteLayer(tiles, rectangles, rect) {
    assert(rect instanceof Rectf);
    RenderLayer.apply(this, [tiles]);
    this.rectangles = rectangles;
    this.rect = rect;
}
function RenderSpriteLayer ( tiles , rectangles , rect ) { assert ( rect instanceof Rectf ) ; RenderLayer . apply ( this , [ tiles ] ) ; this . rectangles = rectangles ; this . rect = rect ; }
Holds a layer of sprites that can overlap
Holds a layer of sprites that can overlap