This commit is contained in:
Tim Tersch
2022-03-02 13:22:05 +01:00
parent 2cf96672fc
commit a7a4848737

View File

@@ -18,8 +18,6 @@ public class Game {
this.ip = pClientIP; this.ip = pClientIP;
this.port = pClientPort; this.port = pClientPort;
user = new User();
send("+OK Hello there"); send("+OK Hello there");
} }
@@ -32,26 +30,26 @@ public class Game {
switch (phase) { switch (phase) {
case 0: case 0:
login(); loginPhase(msg);
break; break;
case 1: case 1:
play(); gamePhase(msg);
break; break;
case 2: case 2:
end(); endPhase(msg);
break; break;
} }
} }
private void login() { private void loginPhase(String msg) {
} }
private void play() { private void gamePhase(String msg) {
} }
private void end() { private void endPhase(String msg) {
} }