public static MapType Invert(MapType type) { var i = SettingInverted.IndexOf(type); if (i > -1) { return(SettingNonInverted[i]); } i = SettingNonInverted.IndexOf(type); if (i > -1) { return(SettingInverted[i]); } return(type); }
public static bool IsInverted(MapType type) => SettingInverted.Contains(type);