method change language added
This commit is contained in:
parent
5edbd7123e
commit
f678b6a422
|
@ -1,2 +1,13 @@
|
||||||
public class Game {
|
public class Game {
|
||||||
|
Language language;
|
||||||
|
|
||||||
|
|
||||||
|
public Game() {
|
||||||
|
language = new Language("de");
|
||||||
|
|
||||||
|
}
|
||||||
|
public void changeLanguage(String language) {
|
||||||
|
this.language.setOutputLanguage(language);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue