blob: a21e5a4fee81f106a720151df58171d7da4db4ef (
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
39
40
41
42
43
44
45
|
package ch.asynk.rustanddust.game;
import ch.asynk.rustanddust.ui.Position;
import ch.asynk.rustanddust.game.Factory.MapType;
public interface Battle
{
public int getId();
public String getName();
public String getDescription();
public Map getMap();
public MapType getMapType();
public Position getHudPosition();
public int getTurnCount();
public Player getPlayer();
public Player getOpponent();
public void init();
public void desinit();
public void initialDeployment();
public boolean actionDone();
public boolean turnDone();
public boolean isDeploymentDone();
public boolean hasReinforcement();
public State.StateType getState();
public void load(int turn, String payload);
public String unload(boolean full);
}
|