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

import ch.asynk.tankontank.engine.Zone;
import ch.asynk.tankontank.game.Unit;
import ch.asynk.tankontank.game.Player;
import ch.asynk.tankontank.game.hud.Position;

public interface Battle
{
    public String getName();

    public String getDescription();

    public Player getPlayer(boolean first, boolean deploymentPhase);

    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);
}