static Texture textureFromText(String text){
		BufferedImage image = new BufferedImage(text.length() * 10, 15, BufferedImage.TYPE_INT_ARGB);
		Graphics g = image.getGraphics();
		g.drawString(text, 0, 10);
		try {
			return BufferedImageUtil.getTexture(null, image);
		} catch (IOException e) {
			e.printStackTrace();
		}
		return null;
	}