From eba13eeab6a551eee0c93fe071e9d155836b2cc2 Mon Sep 17 00:00:00 2001 From: avinal <185067@nith.ac.in> Date: Fri, 28 Aug 2020 00:14:23 +0530 Subject: [PATCH] comments added --- src/SplashScreen.jack | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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;