From cba5a6b22c4cb2cdc5bc48e7b483582290dcbaa8 Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Thu, 2 Dec 2021 15:20:30 +0100 Subject: [PATCH] gameStart method now returns HashMap --- src/ch/zhaw/catan/Parser.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ch/zhaw/catan/Parser.java b/src/ch/zhaw/catan/Parser.java index 9da799a..921f5c0 100644 --- a/src/ch/zhaw/catan/Parser.java +++ b/src/ch/zhaw/catan/Parser.java @@ -4,6 +4,7 @@ import org.beryx.textio.TextIoFactory; import org.beryx.textio.TextTerminal; import java.awt.*; +import java.util.HashMap; import static ch.zhaw.catan.Command.QUIT; import static ch.zhaw.catan.Command.UNKNOWN; @@ -19,8 +20,8 @@ public class Parser { return null; } - public int gameStart(){ - return 2; + public HashMap gameStart(){ + return null; } public void giveCoordinatesForStructures(Config.Structure structure) {