From 295eb9191ffd503ba235416a10fd9d34e8f1cea3 Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Fri, 10 Dec 2021 11:21:58 +0100 Subject: [PATCH] Started Java Doc Structure --- src/ch/zhaw/catan/Structure.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/ch/zhaw/catan/Structure.java b/src/ch/zhaw/catan/Structure.java index 1218ebb..9b49b19 100644 --- a/src/ch/zhaw/catan/Structure.java +++ b/src/ch/zhaw/catan/Structure.java @@ -1,16 +1,33 @@ package ch.zhaw.catan; +/** + * Abstract Super Class of Settlement and Road. + * @author Michael Ziegler + */ public abstract class Structure { private final Config.Faction faction; + /** + * + * @param faction + */ public Structure(Config.Faction faction) { this.faction = faction; } + /** + * + * @return String of the Structure + */ public String toString() { return faction.toString(); } + /** + * Method to + * + * @return faction of the structure + */ public Config.Faction getFaction() { return faction; }