private Map<String,Integer> index; // card name to index map
/* Properties */
+ public Spades game; // the spades game
public String[] hand; // cards to display
public String[] pile; // played cards to display
}
if (y >= this.ylim && this.drag && up) {
//Os.debug("Cards: onTouchEvent - playing card");
+ this.game.onPlay(this.hand[this.pick]);
}
if (up) {
//Os.debug("Cards: onTouchEvent - ending drag");