public void updateStats(core.GroupOfUnits unit)
	{
		if (unit != null) {
			uname.setText(unit.type.name);
			uattack.setText(""+unit.getAttack());
			udefense.setText(""+unit.getDefense());
			uspeed.setText(""+unit.getSpeed());
			uhp.setText(""+unit.getHP());
			ushooting.setText(unit.type.shooting ? "Tak" : "Nie");
			umagic.setText(unit.type.magic ? "Tak" : "Nie");
			uspecial.setText(unit.type.desc);
			
		}
	}