package com.m2sdl.undercooked.utils;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Stream;

public class RestaurantCategories {
    public static final String BAR = "BAR";
    public static final String BIERGARTEN = "biergarten";
    public static final String CAFE = "cafe";
    public static final String FAST_FOOD = "fast_food";
    public static final String FOOD_COURT = "food_court";
    public static final String ICE_CREAM = "ice_cream";
    public static final String PUB = "pub";
    public static final String RESTAURANT = "restaurant";
    public static final List<String> RESTAURANTCATEGORIES = List.of(BAR,BIERGARTEN,CAFE,FAST_FOOD,FOOD_COURT,ICE_CREAM,PUB,RESTAURANT);

    public static boolean matches(String term){
        return RESTAURANTCATEGORIES.contains(term);
    }
}
