Generates a bark-like structure.
Constructor for the BarkGenerator class.
X-coordinate of the bark.
Y-coordinate of the bark.
Width of the bark.
Angle of the bark.
An array of Elements.
Adds an object to the elements array.
The object to be added to this.elements
Adds an object at the beginning of elements array. This way object will be rendered first, thus being a background.
Generates a bark-like structure.