summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/Battle.java
blob: 84a8e7813f24091c0c909b780bff2bfb1c47922a (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(boolean full);
}