Logo Search packages:      
Sourcecode: vdr-plugin-spider version File versions

bool Pile::topCardsMatches (  )  const

The two open top cards are matching

Definition at line 202 of file heap.c.

References Heap::card(), Heap::count(), and open().

Referenced by add(), and remove().

{
  return (open() >= 2 && card(count() - 1).matchesTo(card(count() - 2)));
}


Generated by  Doxygen 1.6.0   Back to index