KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > poker > spec > PokerGame


1 /*
2  * poker
3  *
4  * Enhydra super-servlet specification object
5  *
6  */

7
8 package poker.spec;
9
10 import java.util.Vector JavaDoc;
11 import poker.spec.user.PlayerDO;;
12
13 public interface PokerGame {
14     
15 public PlayerDO getPlayer();
16 public String JavaDoc getName();
17 public boolean getIsDirty();
18 public String JavaDoc getEmail();
19 public String JavaDoc getPassword();
20 public int getCash();
21 public int getPlayRound();
22 public String JavaDoc 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 JavaDoc getCardsInHand();
30 public Vector JavaDoc getCardsUsed();
31 public int getDefaultBet();
32 public Vector JavaDoc getDropCards();
33 public String JavaDoc getDeck();
34 public String JavaDoc getLastError();
35 public void setCash(int cash);
36 public void setPlayRound(int playRound);
37 public void setLastError(String JavaDoc lastError);
38 public void setID(String JavaDoc id);
39 public void setName(String JavaDoc name);
40 public void setPassword(String JavaDoc pw);
41 public void setEmail(String JavaDoc 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 JavaDoc cardsInHand);
49 public void setCardsUsed(Vector JavaDoc cardsUsed);
50 public void setDropCards(Vector JavaDoc dropCards);
51 public void setDeck(String JavaDoc deck);
52 public void setDefaultBet(int defaultBet);
53 }
Popular Tags