01: /**
02: * EnhyDraw!, beta 4, 5/21/99
03: *
04: * Copyright 1999, Larry Wolcot & Daryl Tempesta
05: * ALL rights reserved. Not for commercial use
06: * without written permission from both authors.
07: *
08: */package poker.data.other;
09:
10: public class Fortune {
11: private int fortuneNumber;
12: private boolean hasBeenUsed;
13: private String fortune;
14:
15: public Fortune(int fortuneNumber, String fortune) {
16: this .fortuneNumber = fortuneNumber;
17: this .fortune = fortune;
18: this .hasBeenUsed = false;
19: }
20:
21: public String getFortune() {
22: return fortune;
23: }
24:
25: public boolean getHasBeenUsed() {
26: return hasBeenUsed;
27: }
28:
29: public int getFortuneNumber() {
30: return fortuneNumber;
31: }
32:
33: public void setFortune(String fortune) {
34: this .fortune = fortune;
35: }
36:
37: public void setFortuneNumber(int fortuneNumber) {
38: this .fortuneNumber = fortuneNumber;
39: }
40:
41: public void setHasBeenUsed(boolean hasBeenUsed) {
42: this.hasBeenUsed = hasBeenUsed;
43: }
44:
45: }
|