Class BattleStrike


  • public class BattleStrike
    extends java.lang.Object
    • 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()