public void update(STPGame game) {
		counter++;
		if (counter == 5) {
			counter = 0;
			if (!notice && !noticereturn && los(orientation,game)) {
				game.display.sound.dogbark.play();
				notice = true;
				setImgRun();
			}
		}
		if (notice) {
			noticeRun();
		}
		if (notice && !viewboxstatichit(hitbox,game.staticslist)) {
			notice = false;
			noticereturn = true;
			noticeReturnRun(); noticeReturnRun(); noticeReturnRun();
			setImgReturnRun();
		}
		if (noticereturn) {
			noticeReturnRun();
			if (!viewboxstatichit(hitbox,game.staticslist)) {
				noticereturn = false;
				noticeRun();
				setImgStanding();
			}
		}
	}