src/StageClasses.js
/**
 * Back water layer.
 *
 * @param layer the object from the resource file.
 */
Back water layer.
@param layer the object from the resource file.
Back water layer . @param layer the object from the resource file .
function BackWaterLayer(layer) {
    this.topHeight = 17;
    this.y = layer.y + 96 - this.topHeight;
    this.depth = layer.depth;
    this.waterColor = new Pixel32(74, 138, 184);
    this.waterColorTransparent = new Pixel32(74, 138, 184, 0);
}
function BackWaterLayer ( layer ) { this . topHeight = 17 ; this . y = layer . y + 96 - this . topHeight ; this . depth = layer . depth ; this . waterColor = new Pixel32 ( 74 , 138 , 184 ) ; this . waterColorTransparent = new Pixel32 ( 74 , 138 , 184 , 0 ) ; }
Back water layer.
Back water layer .