public void addCardToTable(MyCard c){
  GameTableViews.addCard(c.id,c);
  if (c.pile == MyCard.MONEYPILE)   moneyPile.addCard(c);
 else   if (c.pile == MyCard.VPPILE)   vpPile.addCard(c);
 else   if (c.pile == MyCard.SUPPLYPILE)   supplyPile.addCard(c);
 else   if (c.pile == MyCard.PRIZEPILE)   prizePile.addCard(c);
 else   if (c.pile == MyCard.NON_SUPPLY_PILE)   nonSupplyPile.addCard(c);
}

public void addCardToTable ( MyCard c ) { GameTableViews . addCard ( c . id , c ) ; if ( c . pile == MyCard . MONEYPILE ) moneyPile . addCard ( c ) ; else if ( c . pile == MyCard . VPPILE ) vpPile . addCard ( c ) ; else if ( c . pile == MyCard . SUPPLYPILE ) supplyPile . addCard ( c ) ; else if ( c . pile == MyCard . PRIZEPILE ) prizePile . addCard ( c ) ; else if ( c . pile == MyCard . NON_SUPPLY_PILE ) nonSupplyPile . addCard ( c ) ; }
initialize a card pile for the table this is called upon setup from within newgame
