protected boolean toggleFeature(Features feature) {
        switch (feature.getValue()) {
            case 1: return setRoad(!road);
            case 2: return setRailroad(!railroad);
            case 3: return setIrrigation(!irrigation);
            case 4: return setVillage(!village);
            case 5: return setCity(!city);
            case 0: default: return setBonus(!bonus);
        }
    }