public void update(int delta)
	{
		Vector2f v = facing.copy().normalise().scale(this.getSpeed() * delta);
		
		if(timeAlive >= lifeTime)
		{
			if(this.target != null)
			{
				this.faceAt(target.copy());
				this.lookAt(target.copy());
				this.target = null;
			}
			if(!world.isEntityColliding(this, this.getBB(loc.copy())))
			{
				loc.add(v);
			}
			else 
			{
				this.hasCollided = true;
				this.setDead();
			}
		}
		else
			loc.add(v);
		
		timeAlive += delta;
	}