add ability to pre-load the config
All checks were successful
/ Build & Publish (push) Successful in 39s

This commit is contained in:
Daniella / Tove 2024-06-25 07:54:45 +02:00
parent f54be5dae3
commit 4382f24399
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -21,10 +21,15 @@ public class ClientBoot {
}
private final CBWindow window;
public final TCN data = new TCN();
public final TCN data;
public ClientBoot(String name, int timeout) {
this(name, timeout, new TCN());
}
public ClientBoot(String name, int timeout, TCN data) {
window = new CBWindow(name, this, timeout);
this.data = data;
}
public ClientBoot newScreen() {