nogard oder so

This commit is contained in:
Janis M
2022-04-06 09:04:48 +02:00
parent 840ee3b74b
commit edbd51a7d6
42 changed files with 2029 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package nogard.schritt5;
public class Befehl {
private final String befehl_wort;
private final String befehl_zusatz;
public Befehl(String wort) {
befehl_wort = wort;
befehl_zusatz = null;
}
public Befehl(String wort, String zusatz) {
befehl_wort = wort;
befehl_zusatz = zusatz;
}
public String getWort() {
return befehl_wort;
}
public String getZusatz() {
return befehl_zusatz;
}
}