Line | |
---|
1 | package geniusweb.inform;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * Informs a party that he has the turn and can choose the next action.
|
---|
5 | */
|
---|
6 | public class YourTurn implements Inform {
|
---|
7 |
|
---|
8 | @Override
|
---|
9 | public int hashCode() {
|
---|
10 | return 1;
|
---|
11 | }
|
---|
12 |
|
---|
13 | @Override
|
---|
14 | public boolean equals(Object obj) {
|
---|
15 | if (this == obj)
|
---|
16 | return true;
|
---|
17 | if (obj == null)
|
---|
18 | return false;
|
---|
19 | if (getClass() != obj.getClass())
|
---|
20 | return false;
|
---|
21 | return true;
|
---|
22 | }
|
---|
23 |
|
---|
24 | @Override
|
---|
25 | public String toString() {
|
---|
26 | return "YourTurn";
|
---|
27 | }
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.