public void setPlayerSkin(int character) {

		String s;

		s = character == 1 ? "/Characters/TestChar.png"
				: "/Characters/TestChar2.png";

		// load sprites
		try {

			final BufferedImage spritesheet = ImageIO.read(getClass()
					.getResourceAsStream(s));

			sprites = new ArrayList<BufferedImage[]>();
			for (int i = 0; i < numFrames.length; i++) {

				final BufferedImage[] bi = new BufferedImage[numFrames[i]];

				for (int j = 0; j < numFrames[i]; j++) {
					bi[j] = spritesheet.getSubimage(j * width, i * height,
							width, height);
				}
				sprites.add(bi);
			}
		} catch (final Exception e) {
			e.printStackTrace();
		}

		animation = new Animation();
		currentAction = IDLE;
		animation.setFrames(sprites.get(IDLE));
		animation.setDelay(100);
	}