@Subscribe
public void handleBidLevelChange(AuctionBidLevel change) {
currentBidLevel.setValue(change.getNewLevel());
if (!change.getBidder().equals(city.getPlayer())) {
auctionBtn.setDisable(false);
}
int index = dialogHelper.removeById(box, "noBid");
if (index < 0) {
index = dialogHelper.removeById(box, "currentBid");
}
addCurrentBidInformation(box, change.getAuction(), index);
index = dialogHelper.removeById(box, "bidLevel-"+change.getOldLevel());
box.getChildren().remove(index);
addBidLevelCountDown(box, change.getAuction(), index);
if (change.getNewLevel() == EBidLevel.DONE) {
auctionBtn.setVisible(false);
clientEventBus.unregister(this);
} else {
String label = messageSource.getMessage("ch.sahits.game.openpatrician.display.dialog.guild.AuctionGuildDialog.nextBid",
new Object[]{change.getAuction().getCurrentBid() + AuctionEngine.BID_DELTA}, locale.getCurrentLocal());
auctionBtn.setText(label);
}
}