// Name: // Lab Section: // Primary TA: // Email: // Date: // CS101 Lab 6 // Customer.java public class Customer { private static MousePad mp; static { mp = new MousePad("Long gesture for draw, short gesture for stand"); } public Customer(String name) { } public boolean wantsCard() { DirectionVector dv = mp.getGesture(); if (dv.magnitude() > 100.0) return true; else return false; } public void showCards() { // provided if (getHand() != null) { getHand().setShown(); } } public void takeCard(Card c) { // provided takeCard(c, true); } public void takeCard(Card c, boolean shown) { } public boolean busted() { return false; } public void done() { // provided mp.setInstruction("Click twice to end this game and start another"); DirectionVector dv = mp.getGesture(); mp.setInstruction(""); } private String getName() { return "Fix this"; } public CardList getHand() { // Fix this return null; } public String toString() { // provided return getName() + " shows " + getHand(); } }