Class Recipe

    • Constructor Detail

      • Recipe

        public Recipe​(java.lang.String name,
                      KitchenDish dish,
                      int cuttingTime,
                      int boilingTime,
                      int points)
        Instantiates a new Recipe.
        Parameters:
        name - the name
        dish - the dish
        cuttingTime - the cutting time
        boilingTime - the boiling time
        points - the points
    • Method Detail

      • getClone

        public abstract Recipe getClone()
        Gets clone.
        Returns:
        the clone
      • getWaitTimeOk

        public float getWaitTimeOk()
        Gets wait time ok.
        Returns:
        the wait time ok
      • getNeededIngredients

        public java.util.List<KitchenIngredient> getNeededIngredients()
        Gets needed ingredients.
        Returns:
        the needed ingredients
      • getNeededSpice

        public java.util.List<KitchenSpice> getNeededSpice()
        Gets needed spice.
        Returns:
        the needed spice
      • getDish

        public KitchenDish getDish()
        Gets dish.
        Returns:
        the dish
      • getCuttingTime

        public int getCuttingTime()
        Gets cutting time.
        Returns:
        the cutting time
      • getBoilingTime

        public int getBoilingTime()
        Gets boiling time.
        Returns:
        the boiling time
      • getName

        public java.lang.String getName()
        Gets name.
        Returns:
        the name
      • getPoints

        public int getPoints()
        Gets points.
        Returns:
        the points