public void update()
	{
		xa = ya = 0;
		
		counter++;
		counter2++;
		if(counter > 60)
		{
			shoot();
			counter = 0;
		}
		if(counter2 > 3)
		{
			positioning();
			counter2 = 0;
		}
		
		if(xa != 0 || ya != 0)  {
			move (xa, ya);
			walking = true;
		} else {
			walking = false;
		}
		
		if(health <= 0)
		{
			remove(this);
		}
	}