summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Battle.java
blob: 1f82bfbe8a9d48689d87fad303e0c71c7f975cb7 (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
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 String unload();
}