summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Battle.java
blob: baa27bb2fdef26875624d3e4754a47cbb053bbf8 (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
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 Player getPlayer();

    public Player getOpponent();

    public void init(Ctrl ctrl, int idA, int idB);

    public void init(Ctrl ctrl, String payload);

    public boolean actionDone();

    public boolean turnDone();

    public boolean isDeploymentDone();

    public boolean hasReinforcement();

    public State.StateType getState();

    public Zone getEntryZone(Unit unit);

    public Zone getExitZone(Unit unit);

    public String unload();
}