From 06382959b1f8fa9a8152d4dc0fbcdc51b1ac9655 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 9 Dec 2021 18:18:30 +0100 Subject: [PATCH] javaDoc in Settlement --- src/ch/zhaw/catan/Settlement.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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; }