alargado tiempo final

This commit is contained in:
Guillermo Roche 2020-02-21 12:30:47 +01:00
parent 04fd130ac2
commit 0d97bbafd0

View File

@ -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++;