01: /*
02: * poker
03: *
04: * Enhydra super-servlet specification object
05: *
06: */
07:
08: package poker.spec;
09:
10: import java.util.Vector;
11: import poker.spec.user.PlayerDO;
12:
13: ;
14:
15: public interface PokerGame {
16:
17: public PlayerDO getPlayer();
18:
19: public String getName();
20:
21: public boolean getIsDirty();
22:
23: public String getEmail();
24:
25: public String getPassword();
26:
27: public int getCash();
28:
29: public int getPlayRound();
30:
31: public String getID();
32:
33: public int getBet();
34:
35: public int getVersion();
36:
37: public int getLargestBet();
38:
39: public int getSmallestBet();
40:
41: public int getTotalPlayed();
42:
43: public int getTotalWon();
44:
45: public Vector getCardsInHand();
46:
47: public Vector getCardsUsed();
48:
49: public int getDefaultBet();
50:
51: public Vector getDropCards();
52:
53: public String getDeck();
54:
55: public String getLastError();
56:
57: public void setCash(int cash);
58:
59: public void setPlayRound(int playRound);
60:
61: public void setLastError(String lastError);
62:
63: public void setID(String id);
64:
65: public void setName(String name);
66:
67: public void setPassword(String pw);
68:
69: public void setEmail(String email);
70:
71: public void setBet(int bet);
72:
73: public void setVersion(int version);
74:
75: public void setLargestBet(int largestBet);
76:
77: public void setSmallestBet(int smallestBet);
78:
79: public void setTotalPlayed(int totalPlayed);
80:
81: public void setTotalWon(int totalWon);
82:
83: public void setCardsInHand(Vector cardsInHand);
84:
85: public void setCardsUsed(Vector cardsUsed);
86:
87: public void setDropCards(Vector dropCards);
88:
89: public void setDeck(String deck);
90:
91: public void setDefaultBet(int defaultBet);
92: }
|