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.port = pClientPort;
user = new User();
send("+OK Hello there");
}
@@ -32,26 +30,26 @@ public class Game {
switch (phase) {
case 0:
login();
loginPhase(msg);
break;
case 1:
play();
gamePhase(msg);
break;
case 2:
end();
endPhase(msg);
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) {
}