From 36614982163f6ec754f6a36a16d36597ef386c65 Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Fri, 10 Dec 2021 11:02:15 +0100 Subject: [PATCH] Finished Parser winpoints min 3 set. --- src/ch/zhaw/catan/Parser.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ch/zhaw/catan/Parser.java b/src/ch/zhaw/catan/Parser.java index ca19245..8103cdf 100644 --- a/src/ch/zhaw/catan/Parser.java +++ b/src/ch/zhaw/catan/Parser.java @@ -134,6 +134,7 @@ public class Parser { * @param give if true ask for resource to give if false for resource to receive * @return Config.Resource the resource the player would like to give or receive */ + public Config.Resource trade(boolean give) { String output = "give"; if (!give) {