public static Sprite loadSprite(String path) {
		try {
			BufferedImage image = ImageIO.read(Sprite.class.getResource(path));

			int w = image.getWidth();
			int h = image.getHeight();

			Sprite result = new Sprite(w, h);
			result.pixels = image.getRGB(0, 0, w, h, null, 0, w);

			return result;
		} catch (IOException e) {
			e.printStackTrace();
		}

		return null;
	}