forked from 2211945/WIZARD_PR2_DOP
Clean up
parent
f6f6c6b1d3
commit
d41ffe5ea9
|
@ -3,7 +3,3 @@
|
|||
|
||||
# Object Data
|
||||
*.o
|
||||
|
||||
#sonstiges
|
||||
.idea
|
||||
out
|
|
@ -6,9 +6,7 @@ written on: 05 / 10 / 2023 at: 23:31
|
|||
*/
|
||||
package Domain.Enums;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public enum Geschlecht implements Serializable {
|
||||
public enum Geschlecht {
|
||||
|
||||
M, W, D, KI;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@ import Infrastructure.Persistenz;
|
|||
import UI.SpielCLI;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.sql.SQLOutput;
|
||||
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
|
|
|
@ -9,24 +9,20 @@ package UI;
|
|||
|
||||
import Facade.Spiel;
|
||||
|
||||
import java.sql.SQLOutput;
|
||||
import java.util.Scanner;
|
||||
|
||||
|
||||
|
||||
public class SpielCLI {
|
||||
|
||||
Scanner sc = new Scanner(System.in);
|
||||
private Spiel spiel;
|
||||
|
||||
public SpielCLI(Spiel spiel) {
|
||||
this.spiel = spiel;
|
||||
hauptmenue();
|
||||
}
|
||||
|
||||
|
||||
public void hauptmenue() {
|
||||
mainloop:
|
||||
while(true){
|
||||
mainloop: while (true) {
|
||||
System.out.println("Hallo Wanderer");
|
||||
System.out.println("Was sillst du tun");
|
||||
System.out.println("--------Hauptmenü--------");
|
||||
|
|
Loading…
Reference in New Issue