public void selectHero(Object hero)
	{
		System.out.println("?! "+heroesSelected);
		WidgetChooserButton button = (WidgetChooserButton)(heroesInner.itemAt(heroesSelected).widget());
		if (hero != heroes.get(heroesSelected)) {
			heroesSelected = heroes.indexOf(hero);
			button.setChecked(false);
		} else {
			button.setChecked(true);
		}
		this.hero = (Hero)hero;
		scroll.ensureVisible(this.hero.getX()*64, this.hero.getY()*64, 64*4, 64*4);
		heroChanged.emit(this.hero);
	}