public void selectNearest(int x0, int y0) {
		x0 += xScroll;
		y0 += yScroll;
		//player.selected.clear();
		int r = 8;
		Unit nearest = null;
		for (Unit u : game.level.getUnitScreenSpace(x0 - r, y0 - r, x0 + r, y0 + r)) {
			if (u.team == player.team) {
				if (nearest == null || u.distanceToScreenSpaceSqr(x0, y0) < nearest.distanceToScreenSpaceSqr(x0, y0));
				nearest = u;
			}
		}
		if (nearest != null && nearest instanceof Mob) {
			player.selected.add((Mob)nearest);
		}

	}