Class Coffee

java.lang.Object
cielsachen.mco1.model.Product
cielsachen.mco1.model.coffee.Coffee
Direct Known Subclasses:
Americano, Cappuccino, Latte

public abstract class Coffee extends Product
  • Field Details

    • PRICE_SIZE_MODIFIER

      public static final float PRICE_SIZE_MODIFIER
      See Also:
    • extraIngredient

      public final Ingredient extraIngredient
    • name

      public final String name
    • espressoRatio

      public final double espressoRatio
    • extraIngredientRatio

      public final double extraIngredientRatio
  • Constructor Details

    • Coffee

      protected Coffee(String name, Ingredient extraIngredient, double espressoRatio, double extraIngredientRatio)
  • Method Details