blob: b4527c82cf05368abf05c0148e235f820525d58c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
package esieequest.model.characters;
import net.pacien.util.CleanJSONObject;
import org.json.simple.JSONObject;
/**
* Athanase the mathgorilla.
*
* @author Pacien TRAN-GIRARD
*/
public class Athanase extends SimpleCharacter {
/**
* Creates Athanase.
*/
public Athanase() {
super("Athanase");
}
@Override
public String talk() {
// TODO: require items
return "Who are you? Where did Leila go? I'm so hungry...";
}
@Override
public JSONObject serialise() {
// TODO: save state (received items)
return new CleanJSONObject();
}
@Override
public void deserialise(final JSONObject o) {
return;
}
}
|