source: events/src/main/java/geniusweb/inform/YourTurn.java@ 38

Last change on this file since 38 was 35, checked in by bart, 3 years ago

Fixed windows time-out.

File size: 458 bytes
Line 
1package geniusweb.inform;
2
3/**
4 * Informs a party that he has the turn and can choose the next action.
5 */
6public 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.