Modifier and Type | Field and Description |
---|---|
(package private) static int |
NUM_OF_ATTEMPT_TO_SOLVE_CUBE |
Constructor and Description |
---|
PcApplication() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
The main method
|
private static void |
registerShutdownHandler()
Register shutdown handler designated to close
connection to the NXT in case of forced quit
|
private static void |
run()
Run the application's user interface
|
private static void |
runOvernightTest(int cycles)
Runs overnight test.
|
private static int |
waitForUserSelection(TextMenu menu)
Draw menu and wait for user selection
|
static final int NUM_OF_ATTEMPT_TO_SOLVE_CUBE
public static void main(String[] args)
private static void runOvernightTest(int cycles)
cycles
- Number of solving cyclesprivate static void run()
MainMenu
private static int waitForUserSelection(TextMenu menu)
menu
- The requested menuprivate static void registerShutdownHandler()