alargado tiempo final
This commit is contained in:
		
							parent
							
								
									04fd130ac2
								
							
						
					
					
						commit
						0d97bbafd0
					
				| @ -8,13 +8,14 @@ public class Fin extends Menu{ | ||||
| 	public int draw(SpriteBatch batch, float delta) { | ||||
| 		try { | ||||
| 			Thread.sleep(400); | ||||
| 			Menu.menus.get(BATTLE).draw(batch, delta); | ||||
| 			Menu.menus.get(BATTLE).draw(batch, 0); | ||||
| 		} catch (InterruptedException e) { | ||||
| 			// TODO Auto-generated catch block | ||||
| 			e.printStackTrace(); | ||||
| 		} | ||||
| 		if(contador>1) { | ||||
| 		if(contador>10) { | ||||
| 			Menu.menus.remove(Menu.BATTLE); | ||||
| 			this.contador=0; | ||||
| 			return Menu.INICIAL; | ||||
| 		}else { | ||||
| 			contador++; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user