@Override
	public void update() {
		angle += velocity;
		if (angle > 360)
			angle = 0;
		if (angle < 0)
			angle = 360;

		moving = true;

		int n = random.nextInt(5);
		switch (n) {
		case 0:
			up();
			break;
		case 1:
			left();
			velocity--;
			break;
		case 2:
			right();
			velocity--;
			break;
		default:
		case 3:
			down();
			velocity++;
			break;
		}

		if (velocity < -15)
			velocity = -15;
		else if (velocity > 15)
			velocity = 15;
	}