public static Client getBot(int type, Frame frame, String name) { switch (type) { case TEST: return new TestBot(frame,name); case HUMAN: return new Client(frame,name); default: return new BotClient(frame, name);
public static Client getBot(int type, String name) { switch (type) { case TEST : return new TestBot(name); case HUMAN : return new Client(name); default : return new BotClient(name); }
  public static Client getBot(int type, Frame frame, String name) {    switch (type) {      case TEST:        return new TestBot(frame,name);      case HUMAN:        return new Client(frame,name);      default:        return new BotClient(frame, name);    }  }