Package net.sf.colossus.game
Class BattleStrike
- java.lang.Object
-
- net.sf.colossus.game.BattleStrike
-
public class BattleStrike extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BattleStrike(Game game)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
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
- 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()
-
-