public class BattleStrike
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Game |
game |
private static java.util.logging.Logger |
LOGGER |
Constructor and Description |
---|
BattleStrike(Game game) |
Modifier and Type | Method and Description |
---|---|
int |
getAttackerSkill(BattleCritter striker,
BattleCritter target)
WARNING: this is duplicated in CreatureServerSide
(moved from Strike to here)
|
Battle |
getBattle() |
int |
getDice(BattleCritter striker,
BattleCritter target)
Return the number of dice that will be rolled when striking this
target, including modifications for terrain.
|
int |
getStrikeNumber(BattleCritter striker,
BattleCritter target)
WARNING: this is duplicated in CreatureServerSide
(moved from Strike to here)
|
private static final java.util.logging.Logger LOGGER
private final Game game
public BattleStrike(Game game)
public int getDice(BattleCritter striker, BattleCritter target)
striker
- TODOtarget
- TODOpublic int getAttackerSkill(BattleCritter striker, BattleCritter target)
striker
- TODOtarget
- TODOpublic int getStrikeNumber(BattleCritter striker, BattleCritter target)
striker
- TODOtarget
- TODOpublic Battle getBattle()