public void updateGraphics() {
		Tuple<BufferedImage[], Integer> stateSprites = this.animation.getStateSprites(this.state);
		BufferedImage[] spriteFrames = stateSprites.getX();
		if(disposeAfterAnimation && this.spriteFrame + 1 == spriteFrames.length * stateSprites.getY()) {
			disposed = true;
		} else {
			this.spriteFrame = (this.spriteFrame + 1) % (spriteFrames.length * stateSprites.getY());			
		}
	}