if (conf.getMessageType() != ConfirmationCallback.YES_NO_OPTION) {
throw new UnsupportedCallbackException(conf, "cannot handle none YN questions yet");
}
confirmNewPlayer(conf);
} else if (callbacks[x] instanceof ActionCallback) {
ActionCallback cp = (ActionCallback) callbacks[x];
if (cp.getAction().equals(ActionCallback.LOAD_ACTION)) {
this.setPlayer(tryToloadPlayer(cp.getObjectName()));
cp.setMudObject(player);
if (player != null) {
player.getSubject().getPrivateCredentials().add(player.getPlayerCredentials());
}
}
if (cp.getAction().equals(ActionCallback.CREATE_ACTION)) {
this.setPlayer(this.doRegisterNewPlayer(cp.getObjectName()));
cp.setMudObject(player);
}
if (cp.getAction().equals(ActionCallback.EXISTS_ACTION)) {
cp.setMudObject(getLoggedInPlayer(cp.getObjectName()));
}
} else if (callbacks[x] instanceof TextOutputCallback) {
TextOutputCallback cb = (TextOutputCallback) callbacks[x];
getExtendedTerminalIO().writeln(cb.getMessage());
} else {