diff --git a/src/ch/zhaw/catan/Settlement.java b/src/ch/zhaw/catan/Settlement.java index 5ca8495..98709f5 100644 --- a/src/ch/zhaw/catan/Settlement.java +++ b/src/ch/zhaw/catan/Settlement.java @@ -2,9 +2,13 @@ package ch.zhaw.catan; import java.awt.*; -//TODO Java Doc +/** + * Sub Class of Structure and Super Class of City + * Can be saved in Siedler Board on a corner + */ public class Settlement extends Structure { + //the coordinates of the position on the board private Point position; public Settlement(Config.Faction faction, Point position) { @@ -12,6 +16,9 @@ public class Settlement extends Structure { this.position = position; } + /** + * @return the datafield position + */ public Point getPosition() { return position; }