„Bot.java“ ändern

Methode startCommunication hinzugefügt
This commit is contained in:
Isabella Nawratil 2024-02-01 15:30:01 +00:00
parent 0b1f68cdb1
commit 78ddcc583a

View File

@ -24,6 +24,11 @@ public abstract class Bot {
port = args.length > 1 ? Integer.parseInt(args[1]) : 63187;
}
public void startCommunication() {
// Implementiere die Logik für die Verbindung und Kommunikation mit dem Server
}
// Diese Methode stellt die Verbindung zum Server her und startet die
// Kommunikation mit dem Server. Die Methode wird von der main-Methode
// aufgerufen.