예제 #1
0
  @Override
  public String EnterState(TopicManager topicManager) {
    String hello =
        "Hello and welcome to TOPIC CHOOSER. Before we begin, we need some basic information about you...";
    System.out.println(hello);

    try {
      topicManager.PlayerManager.SetupPlayers(_useDummyPlayers);
    } catch (IOException e) {
      e.printStackTrace();
    }

    return hello;
  }
예제 #2
0
 @Override
 public String ExitState(TopicManager topicManager) {
   System.out.println(topicManager.PlayerManager.DisplayCurrentPlayers());
   return topicManager.PlayerManager.DisplayCurrentPlayers();
 }