package ex1_modele;

public class PlatFactory {
    private PlatFactory() {}

    public static Plat creer(String type, String code, String nom, double prix) {
        /*
         * PSEUDO-CODE :
         * 1. Si type vaut "chaud", retourner un nouveau PlatChaud.
         * 2. Sinon, si type vaut "dessert", retourner un nouveau Dessert.
         * 3. Sinon, si type vaut "boisson", retourner une nouvelle Boisson.
         * 4. Sinon, retourner null.
         */
        return null;
    }
}
