blob: 242e1475a9ccdc2eb63de2cbe8abd3f210a24cbc (
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.rustanddust.game;
import ch.asynk.rustanddust.game.Zone;
import ch.asynk.rustanddust.game.Unit;
import ch.asynk.rustanddust.game.Player;
import ch.asynk.rustanddust.game.battles.Factory.MapType;
import ch.asynk.rustanddust.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);
}
|