misc language lvl updated

This commit is contained in:
Andrin Fassbind 2021-12-10 11:13:55 +01:00
parent ea08188973
commit 5cf79daa8b
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_X" default="true" project-jdk-name="openjdk-17" project-jdk-type="JavaSDK">
<component name="ProjectRootManager" version="2" languageLevel="JDK_16" project-jdk-name="openjdk-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View File

@ -2,8 +2,6 @@ package ch.zhaw.catan;
import java.awt.Point;
/// TODO: 09/12/2021 Java Doc
/**
* sub Class of Structure
* Can be saved in Siedler Board on Edges.

View File

@ -5,6 +5,8 @@ import java.awt.Point;
/**
* Sub Class of Structure and Super Class of City
* Can be saved in Siedler Board on a corner
*
* @author Andrin Fassbind, Roman Schenk
*/
public class Settlement extends Structure {
@ -17,6 +19,8 @@ public class Settlement extends Structure {
}
/**
* This Methode Returns the Position of the Settlement
*
* @return the datafield position
*/
public Point getPosition() {

View File

@ -11,7 +11,6 @@ import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
//TODO Enhance JavaDoc
/**
* Subclass of HexBoard
@ -22,7 +21,6 @@ public class SiedlerBoard extends HexBoard<Config.Land, Settlement, Road, String
/**
* HashMap to save all Fields which are set yet.
* Key: Point with coordinates of the field
* //TODO Enhance JavaDoc
* Value: Field Object
*/
private final HashMap<Point, Field> fields = new HashMap<>();