public static ManaAttribute GetManaAttribute(ManaColor color) { MemberInfo memberInfo = typeof(ManaColor).GetMember(color.ToString()).FirstOrDefault(); if (memberInfo != null) { return(memberInfo.GetCustomAttribute(typeof(ManaAttribute), false) as ManaAttribute); } return(null); }
public override string ToString(Game g) { return(MyColor.ToString()); }
public override string ToString() { return(Color.ToString()); }
public override string ToString(Game g) { return("Tap " + Host.Value(g).CurrentCharacteristics.Name + " for " + Color.ToString() + " mana"); }