methoden für phasen

This commit is contained in:
Tim Tersch 2022-03-02 13:05:29 +01:00
parent 98522653b2
commit 2cf96672fc
1 changed files with 15 additions and 3 deletions

View File

@ -32,17 +32,29 @@ public class Game {
switch (phase) { switch (phase) {
case 0: case 0:
login();
break; break;
case 1: case 1:
play();
break; break;
case 2: case 2:
end();
break; break;
} }
} }
private void login() {
}
private void play() {
}
private void end() {
}
private void send(String msg) { private void send(String msg) {
wordleServer.send(ip, port, msg); wordleServer.send(ip, port, msg);
} }