private synchronized void updatePlayer() {
		
		if(player.getEntity(0).getX() < 32)  {player.getEntity(0).setX(32);}
		if(player.getEntity(0).getX() > 720) {player.getEntity(0).setX(720);}
		drawPlayer();
		
	}