public class ConsoleFunc extends Object
| Constructor and Description |
|---|
ConsoleFunc() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clears the screen
|
static void |
dots(String str,
int dotCount,
long timeBetween)
Prints out str with the amount of dots.
|
static void |
moveHome()
Moves the cursor to the "home" position, a.k.a the start of the visible
window.
|
static String |
moveLeft(int times)
Moves the cursor left
|
static String |
moveRight(int times)
Moves the cursor right
|
static void |
wait(int ms)
Waits the given amount of time, in milliseconds.
|
public static void wait(int ms)
ms - public static void clear()
public static void moveHome()
public static String moveLeft(int times)
times - public static String moveRight(int times)
times - public static void dots(String str, int dotCount, long timeBetween)
str - dotCount - timeBetween - Copyright © 2022. All rights reserved.