Class representing a generator for a tree structure with a specific pattern.
Generates a tree structure with a specific pattern.
X-coordinate offset.
Y-coordinate offset.
Height of the tree.
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.
Class representing a generator for a tree structure with a specific pattern.