mirror of
				https://github.com/DerTyp7/lf05-java.git
				synced 2025-10-30 04:47:13 +01:00 
			
		
		
		
	nogard oder so
This commit is contained in:
		
							
								
								
									
										27
									
								
								src/nogard/schritt3/Befehl.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								src/nogard/schritt3/Befehl.java
									
									
									
									
									
										Normal 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; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Janis M
					Janis M