net.sf.colossus.ai
Class SimpleAI.TerrainBonuses

java.lang.Object
  extended by net.sf.colossus.ai.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.


Field Summary
(package private)  int attackerPower
           
(package private)  int attackerSkill
           
(package private)  int defenderPower
           
(package private)  int defenderSkill
           
 
Constructor Summary
SimpleAI.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

SimpleAI.TerrainBonuses

SimpleAI.TerrainBonuses(int attackerPower,
                        int defenderPower,
                        int attackerSkill,
                        int defenderSkill)