@Override
	public void update(Observable arg0, Object arg1) {
		if(model.getState() != 2 || model.getPhase() == 1){
			return;
		}
		Player owner = model.getTerritory(0).getOwner();
		for(int i = 1; i < model.getTerritories().length; i++){
			if(owner != model.getTerritory(i).getOwner()){
				return;
			}
		}
		long stopTime = System.currentTimeMillis();
		long runTime = stopTime - startTime;
		long seconds = runTime/1000;
		long minutes = seconds/60;
		seconds %= 60;
		long hours = minutes/60;
		minutes %= 60;
		
		lbTime.setText("Victory after " + (hours>10?"" + hours:"0" + hours) + ":" + (minutes>10?"" + minutes:"0" + minutes) + ":" + (seconds>10?"" + seconds:"0" + seconds));
		setVisible(true);
	}