public Plant(Plant parent, int x)
			{
				plantX = x;
				minX = maxX = plantX;
				genes = new Genes(parent.genes, true);
				energy = genes.seedEnergy / 3;
				leafSize = (int) Hub.simWindow.leafSizeSlider.getValue();

				nodeTree = new NodeTree(genes);

				minX -= leafSize / 2;
				maxX += leafSize / 2;
				height += leafSize / 2;
			}