public void update() {
		Animal animal;
		for (int x = 0; x < xSize; x++) {
			for (int y = 0; y < ySize; y++) {
			animal = controller.getGrid().getAnimal(x, y);
				if (animal != null) {
					if (animal instanceof Fox){
						labels[x][y].setBackground(Color.RED);
					} else if (animal instanceof Rabbit){
						labels[x][y].setBackground(Color.YELLOW);
					}
					
				}
			}
		}
	}