Add: complete JavaDoc for networking, heartbeat, totem flow and game events

This commit is contained in:
MatteoPellegrino05
2026-05-18 18:52:29 +02:00
parent 07e7028ac9
commit e28e7bab6d
26 changed files with 890 additions and 199 deletions
@@ -16,7 +16,6 @@ import javafx.stage.Screen;
import javafx.util.Duration;
import java.util.Locale;
import java.util.Objects;
public class TotemFXMLController {
@@ -185,6 +185,13 @@ public class TUI implements IView {
System.out.println(AsciiTable.sideBySide(lines, lines2, 3));
}
/**
* Renders the available totems in the terminal interface.
*
* <p>The method clears the terminal, builds a table containing the currently
* available totems together with their selection positions, and displays the
* instructions required to choose one.
*/
public void renderTotems() {
clearTerminal();
var table = new AsciiTable(BorderStyle.ROUNDED, model.availableTotems.size());