public void Loop() { //Handles the looping of frames for the images. switch (currentFrameLoops) { case -1: //Loop forever until interupted. Assumes anim is already looping. break; case 0: //Loop has completed. Switch to black anim SetAnimationFile = cs.getFillerAnim(); break; default: currentFrameLoops--; //Assumes animation is already looping. break; } }