public static void setSpeed(int s) {
		if (s > MAX_SPEED || s < 1) {
			Debug.printWarning("Trying to set speed greater than maximum ("
			                   + MAX_SPEED + ")!  Setting to max instead...");
			speed = MAX_SPEED;
			return;
		}

		speed = s;
	}