1 7 8 package poker.spec; 9 10 import java.util.Vector ; 11 12 public interface GameManager { 13 public void setUseDB(boolean useDB) throws Exception ; 14 public String getTotalBankrupt(); 15 public String getHouseProfit(); 16 public String getTotalPlayers(); 17 public String getTotalHandsDealt(); 18 public String getTotalHandsWon(); 19 public String getTotalHandsLost(); 20 public void setTotalHandsWon(int n); 21 public void setTotalBankrupt(int n); 22 public void setHandsDealt(int n); 23 public void setDollars(int n); 24 public void setTotalDollars(int n); 25 public Vector getGameList(); 26 public int getCount(); 27 public Vector getTopTen(); 28 public boolean getIsNameUsed(String name); 29 public boolean authenticate(String name, String pw); 30 public PokerGame getGame(String name) ; 31 public void addGame(PokerGame newGame); 32 public int getRank(int cash); 33 public void removeGame(String name); 34 public void updateGame(PokerGame thisGame); 35 } | Popular Tags |