1 package at.ac.tuwien.sbc.valesriegler.types;
3 import java.io.Serializable;
6 * enum denoting all the kinds of pizzas we have. Thats pretty few :(
11 public enum PizzaType implements Serializable {
12 MARGHERITA(5, 3), SALAMI(5.5, 7), CARDINALE(6, 5);
14 public final double price;
15 public final double duration;
17 private PizzaType(double price, double duration) {
19 this.duration = duration;