Esempio n. 1
0
 /**
  * prints the string provided using the scanner in the cli, so the view will interact with the
  * user the way he chose.
  */
 @Override
 public void printMsg(String s) {
   cli.getOut().println(s);
   cli.getOut().flush();
 }
Esempio n. 2
0
 /** starts the CLI thread */
 @Override
 public void start() {
   cli.start();
 }