public static FieldState parseXmlFieldType(FieldType fieldType) {
        switch (fieldType) {
            case COMPLETED:
                return COMPLETED;
            case DIAMOND:
                return DIAMOND;
            case EMPTY:
                return EMPTY;
            case GOAL:
                return GOAL;
            case PLAYER:
                return PLAYER;
            case WALL:
                return WALL;
            case PLAYER_ON_GOAL:
                return PLAYER_ON_GOAL;
            default:
                return EMPTY;
        }
    }