package org.aegee.runanddine.pathfinder;

/**
 * Maps course IDs to names
 * 0 represents HORS_DOEUVRE 1 represents MAIN 2 represents DESSERT
 */
public class Course {

    public static final int HORS_DOEUVRE = 0;
    public static final int MAIN = 1;
    public static final int DESSERT = 2;

    /**
     * Map course ID to name
     * @param course ID of course
     * @return String representing name of given course ID
     */
    public static String asName(int course) {
        switch (course) {
            case HORS_DOEUVRE:
                return "Starter";
            case MAIN:
                return "Main course";
            case DESSERT:
                return "Dessert";
            default:
                return "UNKNOWN";
        }
    }
}
