From 406114aae3821725b4fd88f9653b1164f86ebf44 Mon Sep 17 00:00:00 2001 From: asvitkine Date: Tue, 18 Jul 2023 21:25:22 -0400 Subject: [PATCH] Fix style issues picked up by new spotless version. (#11792) --- .../java/org/triplea/ai/flowfield/influence/InfluenceMap.java | 1 + .../org/triplea/ai/flowfield/influence/InfluenceTerritory.java | 2 ++ 2 files changed, 3 insertions(+) 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.