Last change
on this file since 46 was 46, checked in by bart, 3 years ago |
refactor to help reusing partiesserver
|
File size:
462 bytes
|
Rev | Line | |
---|
[46] | 1 | package geniusweb.actions;
|
---|
| 2 |
|
---|
| 3 | import com.fasterxml.jackson.annotation.JsonCreator;
|
---|
| 4 | import com.fasterxml.jackson.annotation.JsonProperty;
|
---|
| 5 |
|
---|
| 6 | /**
|
---|
| 7 | * The party that sends this action indicates that it's finished with the learning.
|
---|
| 8 | *
|
---|
| 9 | */
|
---|
| 10 | public class LearningDone extends AbstractAction {
|
---|
| 11 | @JsonCreator
|
---|
| 12 | public LearningDone(@JsonProperty("actor") PartyId id) {
|
---|
| 13 | super(id);
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | @Override
|
---|
| 17 | public String toString() {
|
---|
| 18 | return "LearningDone[" + getActor() + "]";
|
---|
| 19 | }
|
---|
| 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.