diff --git a/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceMap.java b/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceMap.java index 951842842c3..b83eb8d0362 100644 --- a/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceMap.java +++ b/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceMap.java @@ -23,6 +23,7 @@ public class InfluenceMap { String name; + /** Percentage of the value to be copied to the */ double diffuseRate; diff --git a/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceTerritory.java b/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceTerritory.java index fe614bdcd36..722833dac07 100644 --- a/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceTerritory.java +++ b/game-app/ai/src/main/java/org/triplea/ai/flowfield/influence/InfluenceTerritory.java @@ -18,8 +18,10 @@ public class InfluenceTerritory { long influence = 0; @Setter BattleDetails battleDetails; int distanceFromInitialTerritory; + /** Tracks battle details that were diffused to this territory and their distance */ final Map battleDetailsByDistance = new HashMap<>(); + /** * Tracks territories that this territory diffused the battle details to. Prevents diffusing the * battle details back towards the initial territory.