package cz.muni.fi.rtsystems.robojagr.enums;

public enum Color {
    WHITE;
    
    public static Color getColor(int number) {
        return Color.WHITE;
    }
}

package cz.muni.fi.rtsystems.robojagr.enums;

public enum Color {
    WHITE, NOTWHITE;
    
    public static Color getColor(int number) {
        if (number == -1) {
            return Color.WHITE;
        }
        return NOTWHITE;
    }
}

Add "NOTWHITE" color and simple conversion rule.
Add "NOTWHITE" color and simple conversion rule.
