mirror of
https://github.com/avinal/The-Icosian-Game.git
synced 2026-01-09 22:08:33 +05:30
comments added
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user