Class SimpleAI.TerrainBonuses

  • Enclosing class:
    SimpleAI

    private static class SimpleAI.TerrainBonuses
    extends java.lang.Object
    Stores the skill and power bonuses for a single terrain. For internal use only, so we don't bother with encapsulation.
    • Constructor Summary

      Constructors 
      Constructor Description
      TerrainBonuses​(int attackerPower, int defenderPower, int attackerSkill, int defenderSkill)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • attackerPower

        final int attackerPower
      • defenderPower

        final int defenderPower
      • attackerSkill

        final int attackerSkill
      • defenderSkill

        final int defenderSkill
    • Constructor Detail

      • TerrainBonuses

        TerrainBonuses​(int attackerPower,
                       int defenderPower,
                       int attackerSkill,
                       int defenderSkill)