public void update(Observable board, Object o){
		Location temp = null;
		if (o instanceof NotifyReveal){
			int type = ((NotifyReveal) o).getType();
			temp = ((NotifyReveal) o).getLocation();
			if(type == 0){
				this.drawBlank(temp);
			}
			else{
				drawNumbers(type, temp);
			}
		}
		else if(o instanceof NotifyFlagged){
			temp = ((NotifyFlagged) o).getLocation();
			drawImage(Images.MARKED_MINE, temp);
		}
		else if(o instanceof NotifyDoubted){
			temp = ((NotifyDoubted) o).getLocation();
			drawImage(Images.MARKED, temp);
		}
		else if(o instanceof NotifyUnclicked){
			temp = ((NotifyUnclicked) o).getLocation();
			drawImage(Images.UNCLICKED, temp);
		}
		else if(o instanceof NotifyGG) {
			temp = ((NotifyGG) o).getLocation();
			drawImage(Images.MINE, temp);
		}
		else if(o instanceof NotifyRestart){
			int temp_row = ((NotifyRestart) o).getRows();
			int temp_columns = ((NotifyRestart) o).getColumns();
			this.restart(temp_row, temp_columns);
		}
		else if(o instanceof NotifyWin){
			win(((NotifyWin) o).getScore());
			System.out.println("U win it");
		}
		else if(o instanceof NotifyTimerChange){
			timeUsed = ((NotifyTimerChange) o).getTime();
			moved = ((NotifyTimerChange) o).getMoved();
			this.setTitle("Time " + timeUsed + "        Moved " + moved);
			//System.out.print(timeUsed);
		}
	}