public static bool Match(TypeBind tb, int index, IPuzzlePiece ipp) { return (ipp != null && (tb.index == -0x01 || tb.index == index) && ipp.Match(tb)); }