public void updateStarAnm(int k, Character plat) {
		// manages vertical moving platforms
		Platform tempStar = (Platform) plat;

		int tempy1 = tempStar.getY();
		int tempv = tempStar.getVV();
		int vcount = tempStar.getVcount();

		if (tempv == -1) {
			if (vcount >= 100) {
				tempStar.setVV(1);
			}

			if (vcount < 100) {
				tempStar.changeY(tempv);
				tempStar.setVcount(tempStar.getVcount() + 1);
			}
		}

		if (tempv == 1) {
			if (vcount <= -100) {
				tempStar.setVV(-1);
			}

			if (vcount > -100) {
				tempStar.changeY(tempv);
				tempStar.setVcount(tempStar.getVcount() - 1);
			}
		}

		// if(tempStar.getBrownAnimation()){
		myPlatforms.set(k, tempStar);
		offScreenBuffer.drawImage(myImages.get(tempStar.getId()),
				tempStar.getX(), tempStar.getY(), this);
		// }else{
		// myPlatforms.set(k, tempStar);
		// offScreenBuffer.drawImage(myImages.get(tempStar.getId()),
		// tempStar.getX(), tempStar.getY(), this);
		// }

	}