public void update(int delta) {		
		if(elapsedTime < this.sprite.getAnimationSpeed()) {
			elapsedTime += delta;
		} else {
			if(this.sprite.getCurrentFrame() < this.sprite.getFrames().size() - 1) this.sprite.incrementFrame();
			else this.sprite.setCurrentFrame(0);
			elapsedTime = 0;
		}
	}