public class BattleMovementServerSide
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
cumulativeSlow |
private Game |
game |
(package private) boolean |
oneHexAllowed |
Constructor and Description |
---|
BattleMovementServerSide(IOptions options,
Game game) |
Modifier and Type | Method and Description |
---|---|
private java.util.Set<BattleHex> |
findMoves(BattleHex hex,
CreatureServerSide critter,
boolean flies,
int movesLeft,
int cameFrom,
boolean ignoreMobileAllies,
boolean first)
Recursively find moves from this hex.
|
private java.util.Set<BattleHex> |
findUnoccupiedStartlistHexes(boolean ignoreMobileAllies,
MasterBoardTerrain terrain)
This method is called by the defender on turn 1 in a
Startlisted Terrain,
so we know that there are no enemies on board, and all allies
are mobile.
|
(package private) BattleServerSide |
getBattleSS() |
java.util.Set<BattleHex> |
showMoves(CreatureServerSide critter,
boolean ignoreMobileAllies)
Find all legal moves for this critter.
|
private final Game game
final boolean cumulativeSlow
final boolean oneHexAllowed
private java.util.Set<BattleHex> findMoves(BattleHex hex, CreatureServerSide critter, boolean flies, int movesLeft, int cameFrom, boolean ignoreMobileAllies, boolean first)
private java.util.Set<BattleHex> findUnoccupiedStartlistHexes(boolean ignoreMobileAllies, MasterBoardTerrain terrain)
public java.util.Set<BattleHex> showMoves(CreatureServerSide critter, boolean ignoreMobileAllies)
BattleServerSide getBattleSS()