public AnimationSprite(float x, float y, float w, float h, float depth, int speed, String texturePath){
		id();
		
		frames = new ArrayList<Texture>();
		texturePathBuffer = new LinkedList<String>();
		
		texturePathBuffer.add(texturePath);
		
		frameCount = 0;
		frameDelay = speed;
		
		this.p = new Vector3D(x, y, depth);
		this.w = w;
		this.h = h;
	}