pull/16/head
Philipp Kotte 2023-10-10 17:54:22 +02:00
parent f6f6c6b1d3
commit d41ffe5ea9
4 changed files with 34 additions and 45 deletions

4
.gitignore vendored
View File

@ -3,7 +3,3 @@
# Object Data
*.o
#sonstiges
.idea
out

View File

@ -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;
}

View File

@ -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) {

View File

@ -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ü--------");