public void update(int delta) {
		x = oX - Playing.offsetX;
		y = oY - Playing.offsetY;
		
		//Changes stages depending on time.
		if (time.day() && justTicked && finishedGrowing == false) {
			state += 1;
			justTicked = false;
			
			System.out.println("Plant state: " + state);
			
			if (state == seed.length - 1) {
				finishedGrowing = true;
			}
		}
		
		
		if (time.day() == false) {
			justTicked = true;
		}

		tileArea.setBounds((int) x, (int) y, BLOCK, BLOCK);
		if(tileArea.contains(mouse.getMouseX() - Playing.offsetX, mouse.getMouseY() - Playing.offsetY)){
			showBorders = true;
		}else{
			showBorders = false;
		}
		
		
	}