public class BattleStrikeServerSide
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Game |
game |
private static java.util.logging.Logger |
LOGGER |
Constructor and Description |
---|
BattleStrikeServerSide(Game game) |
Modifier and Type | Method and Description |
---|---|
(package private) int |
getAttackerSkill(Creature striker,
Creature target,
boolean rangestrike)
WARNING: this is duplicated in BattleClientSide
|
private Battle |
getBattle() |
int |
getDice(Creature striker,
Creature target,
boolean rangestrike)
WARNING: this is currently still duplicated in game.BattleStrike
|
protected int |
getDice(CreatureServerSide striker,
Creature target)
Return the number of dice that will be rolled when striking this
target, including modifications for terrain.
|
int |
getStrikeNumber(Creature striker,
Creature target,
boolean rangestrike) |
int |
getStrikeNumber(CreatureServerSide striker,
Creature target)
WARNING: this is duplicated in BattleClientSide
|
private static final java.util.logging.Logger LOGGER
private final Game game
public BattleStrikeServerSide(Game game)
protected int getDice(CreatureServerSide striker, Creature target)
striker
- TODOtarget
- TODOpublic int getDice(Creature striker, Creature target, boolean rangestrike)
int getAttackerSkill(Creature striker, Creature target, boolean rangestrike)
striker
- TODOtarget
- TODOrangestrike
- TODOpublic int getStrikeNumber(CreatureServerSide striker, Creature target)
striker
- TODOtarget
- TODOprivate Battle getBattle()