public void endScene() {
     	   co.setX(350);
     	   co.setY(10);
     	   burnedVillage.setX(350);
     	   boolean newVillage = false; 
     	   Image off = createImage(WIDTH,HEIGHT);    
           Graphics second = off.getGraphics();
           CloudObject text1 = new CloudObject(100,10,pane.getClass().getResourceAsStream("spence_end.png"),"spence_end.png",280,171);
           CloudObject text2 = new CloudObject(100,310,pane.getClass().getResourceAsStream("village_end.png"),"village_end.png",280,171);
     	   while(curTime<timeOut+13000) {
     		   curTime = System.currentTimeMillis();
				backGround.paintIcon(pane, second, backGround.getX(), (int)backGround.getY());
				co.paintIcon(this, second, co.getX(),(int)co.getY());
				burnedVillage.paintIcon(this, second, burnedVillage.getX(),(int)burnedVillage.getY());
				for (int i=0;i<drops.size();i++) {
					drops.get(i).paintIcon(pane,second, drops.get(i).getX(), (int)drops.get(i).getY());
	        		if (drops.get(i).getY()>HEIGHT) {
	        			drops.remove(drops.get(i));
	        			break;
	        		} else {
	        			drops.get(i).move();
	        		}
				}
     		   if ( newVillage == false && curTime>timeOut+ 3000 ) {
     			   burnedVillage.setFileName(pane.getClass().getResourceAsStream("saved_village.png"));
     			   newVillage = true;
     		   }
     		   if (curTime>timeOut+3000 && curTime<timeOut+8000) {
     			   text2.paintIcon(pane, second, text2.getX(),(int) text2.getY());
     		   }
     		   if (curTime>timeOut+7900 && curTime<timeOut+13000) {
     			   text1.paintIcon(pane, second, text1.getX(),(int) text1.getY());
     		   }
     		   pane.rain();
     		  pane.getGraphics().drawImage(off, 0,0,pane);
     	   }
     	   CloudObject youWon = new CloudObject(0,0,pane.getClass().getResourceAsStream("you_won.png"),"you_won.png",800,600);	   
     	   youWon.paintIcon(pane, pane.getGraphics(), youWon.getX(), (int)youWon.getY());
			
		}