private void load() {
		System.out.print("Trying to load Spritesheet from " + path + "... ");
		try {
			BufferedImage image = ImageIO.read(SpriteSheet.class.getResource(path));
			width = image.getWidth();
			height = image.getHeight();
			pixels = new int[width * height];
			image.getRGB(0, 0, width, height, pixels, 0, width > height ? width : height);
			System.out.println("done.");
		} catch (IOException e) {
			System.out.println("failed.");
			e.printStackTrace();
		}
	}