From f678b6a422b2812e69ba1a4022eb1c29f538f0c7 Mon Sep 17 00:00:00 2001 From: Leonardo Brandenberger Date: Thu, 7 Oct 2021 17:24:24 +0200 Subject: [PATCH] method change language added --- src/Game.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Game.java b/src/Game.java index f7e8986..1737bc9 100644 --- a/src/Game.java +++ b/src/Game.java @@ -1,2 +1,13 @@ public class Game { + Language language; + + + public Game() { + language = new Language("de"); + + } + public void changeLanguage(String language) { + this.language.setOutputLanguage(language); + } + }