diff --git a/src/main/java/seedu/binbash/ui/Ui.java b/src/main/java/seedu/binbash/ui/Ui.java index 4d7dbd77ba..c1392fdedb 100644 --- a/src/main/java/seedu/binbash/ui/Ui.java +++ b/src/main/java/seedu/binbash/ui/Ui.java @@ -18,4 +18,16 @@ public Ui() { public boolean isUserActive() { return isUserActive; } + + public void greet() { + talk(WELCOME_MESSAGE); + } + + public void farewell() { + talk(GOODBYE_MESSAGE); + } + + public void talk(String line) { + System.out.println(LINE_DIVIDER + "\n" + line + "\n" + LINE_DIVIDER); + } }