Class BattleStrike

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

public class BattleStrike extends Object
  • Field Details

    • LOGGER

      private static final Logger LOGGER
    • game

      private final Game game
  • Constructor Details

    • BattleStrike

      public BattleStrike(Game game)
  • Method Details

    • 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()