public override int GetHashCode() { var hashCode = -1601273053; hashCode = hashCode * -1521134295 + Fore.GetHashCode(); hashCode = hashCode * -1521134295 + Back.GetHashCode(); hashCode = hashCode * -1521134295 + Token.GetHashCode(); return(hashCode); }
public bool EitherForeIs(Tile tile, params Types[] types) { return(Fore.Matches(types) && tile.Fore.Matches(types)); }