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

				nodeTree = new NodeTree(genes);

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