public Plant(int pType) {
	plantType = pType;

	if (plantType == GREEN_PLANT) {
	    energy = 100;
	} else if (plantType == RED_PLANT) {
	    energy = 50;
	} else if (plantType == YELLOW_PLANT) {
	    energy = 70;
	} else if (plantType == MAGENTA_PLANT) {
	    energy = 90;
	} else {
	    energy = 0;
	}
    }