net.sf.colossus.server
Class BattleStrikeServerSide
java.lang.Object
net.sf.colossus.server.BattleStrikeServerSide
public class BattleStrikeServerSide
- extends java.lang.Object
Field Summary |
private Game |
game
|
private static java.util.logging.Logger |
LOGGER
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
private static final java.util.logging.Logger LOGGER
game
private final Game game
BattleStrikeServerSide
public BattleStrikeServerSide(Game game)
getDice
protected int getDice(CreatureServerSide striker,
Creature target)
- Return the number of dice that will be rolled when striking this
target, including modifications for terrain.
WARNING: this is currently still duplicated in game.BattleStrike
- Parameters:
striker
- TODOtarget
- TODO
getDice
public int getDice(Creature striker,
Creature target,
boolean rangestrike)
- WARNING: this is currently still duplicated in game.BattleStrike
getAttackerSkill
int getAttackerSkill(Creature striker,
Creature target,
boolean rangestrike)
- WARNING: this is duplicated in BattleClientSide
- Parameters:
striker
- TODOtarget
- TODOrangestrike
- TODO
getStrikeNumber
public int getStrikeNumber(CreatureServerSide striker,
Creature target)
- WARNING: this is duplicated in BattleClientSide
- Parameters:
striker
- TODOtarget
- TODO
getStrikeNumber
public int getStrikeNumber(Creature striker,
Creature target,
boolean rangestrike)
getBattle
private Battle getBattle()