net.sf.colossus.game
Class BattleStrike

java.lang.Object
  extended by net.sf.colossus.game.BattleStrike

public class BattleStrike
extends java.lang.Object


Field Summary
private  Game game
           
private static java.util.logging.Logger LOGGER
           
 
Constructor Summary
BattleStrike(Game game)
           
 
Method Summary
 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)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final java.util.logging.Logger LOGGER

game

private final Game game
Constructor Detail

BattleStrike

public BattleStrike(Game game)
Method Detail

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 - TODO
target - TODO

getAttackerSkill

public int getAttackerSkill(BattleCritter striker,
                            BattleCritter target)
WARNING: this is duplicated in CreatureServerSide (moved from Strike to here)

Parameters:
striker - TODO
target - TODO

getStrikeNumber

public int getStrikeNumber(BattleCritter striker,
                           BattleCritter target)
WARNING: this is duplicated in CreatureServerSide (moved from Strike to here)

Parameters:
striker - TODO
target - TODO

getBattle

public Battle getBattle()