diff --git a/src/SplashScreen.jack b/src/SplashScreen.jack index ce6790a..2dee914 100644 --- a/src/SplashScreen.jack +++ b/src/SplashScreen.jack @@ -1,4 +1,10 @@ +/** +* Static class with hardcoded displayd +*/ class SplashScreen { + /** + * Draws the splash screen of the game + */ function void entryScreen(){ do Output.printString(" ___"); do Output.println(); @@ -40,6 +46,9 @@ class SplashScreen { return; } + /** + * Draws rule screen of the game + */ function void ruleScreen(){ do Output.moveCursor(0,0); do Output.println(); @@ -64,6 +73,9 @@ class SplashScreen { return; } + /** + * Draws game lost screen + */ function void lossScreen(){ do Screen.clearScreen(); do Output.moveCursor(10,17); @@ -74,6 +86,9 @@ class SplashScreen { return; } + /** + * Draws winner screen and the final hamiltonian circuit + */ function void winScreen(String path){ var DrawIcosian icon; var int i;