Constructor for the Boat class.
The x-coordinate offset for the boat.
The y-coordinate offset for the boat.
The width of the boat.
Optional
scale: numberThe scale of the boat.
Optional
flip: boolean = DEFAULT_FLIPWhether to flip the boat horizontally.
An array of Elements.
The tag for the layer.
The x-coordinate.
The y-coordinate.
Represents a boat layer with different scale and flip.