*/
public static PileOfCards takeLead( PileOfCards vp, Tableau t,
int position, Rules rules )
{
PileOfCards results = new PileOfCards();
Tableau tableau = new Tableau( t );
if (tableau.howManyCardsNotNull() == 0)
tableau.setLead( position );
Enumeration cards = vp.elements();
while (cards.hasMoreElements())
{
PlayingCard c = (PlayingCard)cards.nextElement();
tableau.set( position, c );
if (rules.whoWinsTrick( tableau ) == position)
results.add( c );
}
return results;
}