src/StageClasses.js
/**
 * Fore water layer.
 *
 * @param layer the object from the resource file.
 */
Fore water layer.
@param layer the object from the resource file.
Fore water layer . @param layer the object from the resource file .
function ForeWaterLayer(layer) {
    this.y = layer.y;
    this.depth = layer.depth;
    var dep = ResourceDepot.getInstance();
    this.animations = [
                       dep.getAnimation(0).animation,
                       dep.getAnimation(1).animation,
                       dep.getAnimation(2).animation
                       ];
    this.waterColor = new Pixel32(74, 138, 184, 191);
}
function ForeWaterLayer ( layer ) { this . y = layer . y ; this . depth = layer . depth ; var dep = ResourceDepot . getInstance ( ) ; this . animations = [ dep . getAnimation ( 0 ) . animation , dep . getAnimation ( 1 ) . animation , dep . getAnimation ( 2 ) . animation ] ; this . waterColor = new Pixel32 ( 74 , 138 , 184 , 191 ) ; }
Fore water layer.
Fore water layer .