Class Recipe
- java.lang.Object
-
- com.apogames.kitchenchef.game.recipe.Recipe
-
- Direct Known Subclasses:
BreadSnack
,CafeChilli
,CafeGreen
,CafeLatte
,CafeMokka
,CafeNormal
,ChickenSalad
,Gingerbread
,Mika
,MurghPalak
,PastaCasserole
,Quiche
,SaladDeluxe
,StudentPasta
,ToastTasty
,WinterWonder
public abstract class Recipe extends java.lang.Object
The type Recipe.
-
-
Constructor Summary
Constructors Constructor Description Recipe(java.lang.String name, KitchenDish dish, int cuttingTime, int boilingTime, int points)
Instantiates a new Recipe.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description int
getBoilingTime()
Gets boiling time.abstract Recipe
getClone()
Gets clone.int
getCuttingTime()
Gets cutting time.KitchenDish
getDish()
Gets dish.java.lang.String
getName()
Gets name.java.util.List<KitchenIngredient>
getNeededIngredients()
Gets needed ingredients.java.util.List<KitchenSpice>
getNeededSpice()
Gets needed spice.int
getPoints()
Gets points.float
getWaitTimeOk()
Gets wait time ok.
-
-
-
Constructor Detail
-
Recipe
public Recipe(java.lang.String name, KitchenDish dish, int cuttingTime, int boilingTime, int points)
Instantiates a new Recipe.- Parameters:
name
- the namedish
- the dishcuttingTime
- the cutting timeboilingTime
- the boiling timepoints
- 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
-
-