Esempio n. 1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Action != 0)
        {
            hash ^= Action.GetHashCode();
        }
        if (Atout != 0)
        {
            hash ^= Atout.GetHashCode();
        }
        if (Value != 0)
        {
            hash ^= Value.GetHashCode();
        }
        return(hash);
    }
Esempio n. 2
0
 public int GetValue(Atout at)
 {
     return(value[(int)at]);
 }