public void updatePlatAst(int k, Character plat) {
		// manages astroids, continues the animation by changing images
		Platform astroid = (Platform) plat;

		if (astroid.getBrownAnimation() == true) {

			offScreenBuffer.drawImage(myImages.get(astroid.getId()),
					astroid.getX(), astroid.getY(), this);
			// astroid.setId(plat.getId() + 1);
			myPlatforms.set(k, astroid);

		}

		if (astroid.getBrownAnimation() == false) {
			offScreenBuffer.drawImage(myImages.get(astroid.getId()),
					astroid.getX(), astroid.getY(), this);
		}
	}