Added superclass structure to roads and settlement

This commit is contained in:
MikeZyeman 2021-11-29 16:02:38 +01:00
parent d70a3daed0
commit c2d2f11d2a
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,6 +1,6 @@
package ch.zhaw.catan; package ch.zhaw.catan;
public class Settlement { public class Settlement extends Structure {
public Settlement(Config.Faction faction) { public Settlement(Config.Faction faction) {
super(faction); super(faction);