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

import ch.asynk.tankontank.engine.EntryPoint;
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 EntryPoint getEntryPoint(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);
}