summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/game/Battle.java
blob: 8625dd4a55795382797f10f9217acdfcfa013e3f (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
package ch.asynk.tankontank.game;

import ch.asynk.tankontank.game.Zone;
import ch.asynk.tankontank.game.Unit;
import ch.asynk.tankontank.game.Player;
import ch.asynk.tankontank.game.battles.Factory.MapType;
import ch.asynk.tankontank.ui.Position;

public interface Battle
{
    public void init();

    public String getName();

    public String getDescription();

    public Player getPlayer();

    public Player opponent(Player player);

    public MapType getMapType();

    public Map getMap();

    public Player checkVictory(Ctrl ctrl);

    public boolean getReinforcement(Ctrl ctrl, Map map);

    public Zone getEntryZone(Unit unit);

    public Zone getExitZone(Unit unit);

    public Position getHudPosition(Player player);

    public State.StateType getState(Player player);

    public boolean deploymentDone(Player player);

    public void setup(Ctrl ctrl, Map map);
}