code: public void drawFlash(float x,float y,float width,float height, Color col) {
  		if (frames.size() == 0) {
  			return;
  		}
  		
  		if (autoUpdate) {
  			long now = getTime();
  			long delta = now - lastUpdate;
  			if (firstUpdate) {
  				delta = 0;
  				firstUpdate = false;
  			}
  			lastUpdate = now;
  			nextFrame(delta);
  		}
  		
  		Frame frame = (Frame) frames.get(currentFrame);
  		frame.image.drawFlash(x,y,width,height,col);
  	}
docs: Draw the animation
  
  @param x The x position to draw the animation at
  @param y The y position to draw the animation at
  @param width The width to draw the animation at
  @param height The height to draw the animation at
  @param col The colour for the flash