예제 #1
0
 public static Suit GetWeakness(this Suit suit)
 {
     return(SuitExtensionMethods.Get(suit).weakness);
 }
예제 #2
0
 public static bool IsWeakAgainst(this Suit suit, Suit other)
 {
     return(SuitExtensionMethods.Get(suit).weakness == other);
 }
예제 #3
0
 public static string GetName(this Suit suit)
 {
     return(SuitExtensionMethods.Get(suit).name);
 }