war.getSide(Town) added

(cherry picked from commit d2a39e0088)
This commit is contained in:
Isaac authored and Aubri Seebauer committed 2023-04-18 20:05:42 -04:00
1 parent 063826581c
commit 341ba1a4af
1 file changed
+4
@@ -125,6 +125,10 @@ public class War {
return 0; return 0;
} }
public int getSide(Town town) {
return getSide(town.getName());
}
public String getName() { public String getName() {
return this.name; return this.name;
} }