net.sf.colossus.game
Class BattleStrike
java.lang.Object
net.sf.colossus.game.BattleStrike
public class BattleStrike
- 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
BattleStrike
public BattleStrike(Game game)
getDice
public int getDice(BattleCritter striker,
BattleCritter target)
- Return the number of dice that will be rolled when striking this
target, including modifications for terrain.
WARNING: this is duplicated in CreatureServerSide
(moved from Strike to here)
- Parameters:
striker
- TODOtarget
- TODO
getAttackerSkill
public int getAttackerSkill(BattleCritter striker,
BattleCritter target)
- WARNING: this is duplicated in CreatureServerSide
(moved from Strike to here)
- Parameters:
striker
- TODOtarget
- TODO
getStrikeNumber
public int getStrikeNumber(BattleCritter striker,
BattleCritter target)
- WARNING: this is duplicated in CreatureServerSide
(moved from Strike to here)
- Parameters:
striker
- TODOtarget
- TODO
getBattle
public Battle getBattle()