public void startTurn(int day, core.Player player)
	{
		this.player = player;
		
		System.out.println("startTurn");
		statusGold.setText(""+player.getResource(core.ResourceType.GOLD));
		statusOre.setText(""+player.getResource(core.ResourceType.ORE));
		statusWood.setText(""+player.getResource(core.ResourceType.WOOD));
		statusDay.setText(""+((day-1)%7+1)+" / "+((day-1)/7+1)+" tydzień");
		statusPlayer.setText(player.getName());
		QApplication.processEvents();
		
		cleanHeroes();
		for (Hero hero: player.getHeroes()) {
			System.out.println("add hero?" + hero.getName());
			addHero(hero);
		}
		
		cleanCastles();
		for (Castle castle: player.getCastles()) {
			addCastle(castle);
		}
		
		//selectHero(player.getHeroes().iterator().next());
		if (heroesInner.count() > 0) {
			((WidgetChooserButton)(heroesInner.itemAt(0).widget())).click();
		}
		
		//buttonTurn.Sheet("background-color: #ff0000");
		minimap.repaint();
		QApplication.processEvents();
	}