1
0
mirror of https://github.com/LOOHP/Limbo.git synced 2026-06-08 05:51:43 +00:00

Follow naming conventions

This commit is contained in:
LOOHP
2021-04-06 12:50:26 +08:00
parent 2d77a0e15c
commit 6c90a82f7c
122 changed files with 373 additions and 373 deletions
@@ -0,0 +1,22 @@
package com.loohp.limbo.consolegui;
import com.loohp.limbo.Limbo;
public class ConsoleTextOutput {
public static void appendText(String string) {
if (!Limbo.noGui) {
GUI.textOutput.setText(GUI.textOutput.getText() + string);
GUI.scrollPane.getVerticalScrollBar().setValue(GUI.scrollPane.getVerticalScrollBar().getMaximum());
}
}
public static void appendText(String string, boolean isWriteLine) {
if (isWriteLine) {
appendText(string + "\n");
} else {
appendText(string);
}
}
}