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

Last change on this file since 48 was 48, checked in by bart, 2 years ago

Added java logconverter to add utilities to log results. Fixed
bug in python ProgressTime.

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.