public static Action <Character, Skill> GetDrawback(ElementTypes elementType, out Color color) { switch (elementType) { case ElementTypes.Ice: color = RGBToColor(165f, 242f, 243f); return(IceDrawback); case ElementTypes.Fire: color = RGBToColor(246f, 40f, 23f); return(FireDrawback); case ElementTypes.Earth: color = RGBToColor(133, 87, 35); break; case ElementTypes.Wood: break; case ElementTypes.Air: break; case ElementTypes.Water: break; case ElementTypes.All: break; case ElementTypes.None: break; default: throw new ArgumentOutOfRangeException(elementType.GetType().Name, elementType, null); } color = Color.white; return(null); }