public boolean update(float tslf, LinkedList<Bullet> bullets)
	{
		if(path.size() > 0)
		{
			float absx = path.get(path.size() - 1).getX() * Texture.tilesize + Texture.tilesize / 2 - (xpos + look.getWidth() / 2);
			float absy = path.get(path.size() - 1).getY() * Texture.tilesize + Texture.tilesize / 2 - (ypos + look.getHeight() / 2);
			
			rotation = Math.atan2(absy, absx);
			
			xspeed = (float) (Math.cos(rotation) * SPEED);
			yspeed = (float) (Math.sin(rotation) * SPEED);
		} else
		{
			xspeed = 0;
			yspeed = 0;
		}
		
		xpos += xspeed * tslf;
		ypos += yspeed * tslf;
		
		if(path.size() > 0 && path.get(path.size() -1).getX() == getTilePosX() && path.get(path.size() -1).getY() == getTilePosY())
			path.remove(path.size() - 1);
		
		for(int i = 0; i < bullets.size(); i++)
		{
			if(Collision.circleToCircle(bullets.get(i).getX(), bullets.get(i).getY(), 2, xpos + size, ypos + size, size))
			{
				bullets.remove(i);
				return true;
			}
		}
		return false;
	}