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,27 @@
package nogard.schritt3;
public class Befehl{
private String befehlsWort;
private String befehlsSatz;
public Befehl(String befehlsWort) {
this.befehlsWort = befehlsWort;
this.befehlsSatz = null;
}
public Befehl(String befehlsWort, String befehlsSatz) {
this.befehlsWort = befehlsWort;
this.befehlsSatz = befehlsSatz;
}
public String getBefehlsSatz() {
return befehlsSatz;
}
public String getBefehlsWort() {
return befehlsWort;
}
}