Merge branch 'TUI' of https://github.com/rubenpirreram/ing-sw-2026-pirrera-radice-pagani-pellegrino into toString-fixes
This commit is contained in:
@@ -4,12 +4,12 @@ import java.util.*;
|
||||
// Helper generale per costruire tabelle ASCII
|
||||
public class AsciiTable {
|
||||
private final BorderStyle s;
|
||||
private final int cols, colWidth;
|
||||
private final int cols;
|
||||
private final List<List<String>> rows = new ArrayList<>();
|
||||
private final List<Integer> separators = new ArrayList<>();
|
||||
|
||||
public AsciiTable(BorderStyle s, int cols, int colWidth) {
|
||||
this.s = s; this.cols = cols; this.colWidth = colWidth;
|
||||
public AsciiTable(BorderStyle s, int cols) {
|
||||
this.s = s; this.cols = cols;
|
||||
}
|
||||
|
||||
public void addRow(String... cells) { rows.add(Arrays.asList(cells)); }
|
||||
|
||||
Reference in New Issue
Block a user