public void givePlayerTiles(Player player,List<Tile> tileList){
		PlayerInfo pi = null;
		for(PlayerInfo p : mainWindow.getPlayerInfoList()){
			if(p.getPlayer() == player){
				pi = p;
				break;
			}
		}
		pi.giveTiles(tileList);
		mainWindow.repaint();
	}