Creates an instance of WaterChunk.
X-coordinate offset for the chunk.
Y-coordinate offset for the chunk.
Optional
width: numberWidth of the waves.
Optional
height: numberHeight of the waves.
Optional
waveClusters: number = DEFAULT_WAVECLUSTERSNumber of clusters of waves.
An array of Elements.
The tag for the layer.
The x-coordinate.
The y-coordinate.
Class representing a water chunk with undulating waves.