public void addEntity(Entity entity) {
		if(this.entity.contains(entity)) {return;}
		this.entity.add(entity);
		frameIndex.add(0);
		
		entity.setSprite(this);
		entity.setImage(images[frameIndex.get(this.entity.size()-1)]);
		
		//Start animation if this is the first entity
		if(this.entity.size() == 1) {startAnimation();}
	}