public Accompaniment(string name, Taste foodTaste, float timeToCook, cookingType currentCookingType)
 {
     this.name = name;
     this.foodTaste = foodTaste;
     this.timeToCook = timeToCook;
     this.currentCookingMethod = currentCookingMethod;
     this.typeOfItem = itemType.food;
 }
Beispiel #2
0
    void cook(cookingType typeOfCooking, float time)
    {
        switch (typeOfCooking) {
            case cookingType.fried:

                break;

            case cookingType.roasting:

                break;

            case cookingType.stewing:

                break;

            default:

                break;
        }
    }