public static int getPlantAmount(int plantType) {
	if (plantType == GREEN_PLANT) {
	    return GREEN_PLANT_AMOUNT;
	}
	if (plantType == RED_PLANT) {
	    return RED_PLANT_AMOUNT;
	}
	if (plantType == YELLOW_PLANT) {
	    return YELLOW_PLANT_AMOUNT;
	}
	if (plantType == MAGENTA_PLANT) {
	    return MAGENTA_PLANT_AMOUNT;
	}
	return 0;
    }