diff --git a/src/ch/zhaw/catan/Road.java b/src/ch/zhaw/catan/Road.java index 6542231..730b149 100644 --- a/src/ch/zhaw/catan/Road.java +++ b/src/ch/zhaw/catan/Road.java @@ -1,6 +1,6 @@ package ch.zhaw.catan; -import java.awt.*; +import java.awt.Point; /// TODO: 09/12/2021 Java Doc @@ -15,9 +15,10 @@ public class Road extends Structure { /** * Constructor of Road + * * @param faction The faction of the owner - * @param start the coordinates of the start Point - * @param end the coordinates of the End Point + * @param start the coordinates of the start Point + * @param end the coordinates of the End Point */ public Road(Config.Faction faction, Point start, Point end) { super(faction); @@ -26,7 +27,6 @@ public class Road extends Structure { } /** - * * @return the coordinates of the start Point */ public Point getStart() { @@ -34,7 +34,6 @@ public class Road extends Structure { } /** - * * @return the coordinates of the end Point */ public Point getEnd() { diff --git a/src/ch/zhaw/catan/Settlement.java b/src/ch/zhaw/catan/Settlement.java index 41f8e29..d926308 100644 --- a/src/ch/zhaw/catan/Settlement.java +++ b/src/ch/zhaw/catan/Settlement.java @@ -1,6 +1,6 @@ package ch.zhaw.catan; -import java.awt.*; +import java.awt.Point; /** * Sub Class of Structure and Super Class of City diff --git a/src/ch/zhaw/catan/SiedlerBoard.java b/src/ch/zhaw/catan/SiedlerBoard.java index 6a4cbb7..099a4ec 100644 --- a/src/ch/zhaw/catan/SiedlerBoard.java +++ b/src/ch/zhaw/catan/SiedlerBoard.java @@ -4,13 +4,13 @@ import ch.zhaw.hexboard.HexBoard; import ch.zhaw.hexboard.Label; import java.awt.Point; -import java.util.List; import java.util.ArrayList; +import java.util.Collections; import java.util.HashMap; import java.util.HashSet; -import java.util.Map; import java.util.Iterator; -import java.util.Collections; +import java.util.List; +import java.util.Map; //TODO Enhance JavaDoc /** @@ -138,6 +138,7 @@ public class SiedlerBoard extends HexBoard