1 7 8 package poker.spec; 9 10 import java.util.Vector ; 11 import poker.spec.user.PlayerDO;; 12 13 public interface PokerGame { 14 15 public PlayerDO getPlayer(); 16 public String getName(); 17 public boolean getIsDirty(); 18 public String getEmail(); 19 public String getPassword(); 20 public int getCash(); 21 public int getPlayRound(); 22 public String getID(); 23 public int getBet(); 24 public int getVersion(); 25 public int getLargestBet(); 26 public int getSmallestBet(); 27 public int getTotalPlayed(); 28 public int getTotalWon(); 29 public Vector getCardsInHand(); 30 public Vector getCardsUsed(); 31 public int getDefaultBet(); 32 public Vector getDropCards(); 33 public String getDeck(); 34 public String getLastError(); 35 public void setCash(int cash); 36 public void setPlayRound(int playRound); 37 public void setLastError(String lastError); 38 public void setID(String id); 39 public void setName(String name); 40 public void setPassword(String pw); 41 public void setEmail(String email); 42 public void setBet(int bet); 43 public void setVersion(int version); 44 public void setLargestBet(int largestBet); 45 public void setSmallestBet(int smallestBet); 46 public void setTotalPlayed(int totalPlayed); 47 public void setTotalWon(int totalWon); 48 public void setCardsInHand(Vector cardsInHand); 49 public void setCardsUsed(Vector cardsUsed); 50 public void setDropCards(Vector dropCards); 51 public void setDeck(String deck); 52 public void setDefaultBet(int defaultBet); 53 } | Popular Tags |