forked from nus-cs2113-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from daryltay415/master
Update Ui class
- Loading branch information
Showing
5 changed files
with
71 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package seedu.duke; | ||
|
||
|
||
/** | ||
* Represents the user interface of the Omnitravel bot | ||
* It contains all the responses of the Omnitravel bot to the user's commands | ||
*/ | ||
public class Ui { | ||
/** | ||
* Prints the greetings | ||
*/ | ||
public void printGreeting() { | ||
System.out.println(" ____ _ _ _ _____ ____ ____ _ _____ _ \n" + | ||
"/ _ \\/ \\__/|/ \\ /|/ \\/__ __\\/ __\\/ _ \\/ \\ |\\/ __// \\ \n" + | ||
"| / \\|| |\\/||| |\\ ||| | / \\ | \\/|| / \\|| | //| \\ | | \n" + | ||
"| \\_/|| | ||| | \\||| | | | | /| |-||| \\// | /_ | |_/\\\n" + | ||
"\\____/\\_/ \\|\\_/ \\|\\_/ \\_/ \\_/\\_\\\\_/ \\|\\__/ \\____\\\\____/)"); | ||
System.out.println("Hello"); | ||
System.out.println("How may I assist you?"); | ||
} | ||
|
||
/** | ||
* Prints the farewell greetings | ||
*/ | ||
public void printBye(){ | ||
System.out.println("Thank you for using Omnitravel"); | ||
System.out.println("We hope to see you again! Goodbye!"); | ||
} | ||
|
||
public void printLine(){ | ||
System.out.println("____________________________________________________________"); | ||
} | ||
|
||
|
||
|
||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters