comments added

This commit is contained in:
avinal
2020-08-28 00:14:23 +05:30
parent 70130e1dff
commit eba13eeab6

View File

@@ -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;