@Override public void handleDraw(double w, double h) { super.handleDraw(w, h); if (this.getDeltaTime() > 700L) { setState(toSwitch); } }
@Override public void handleDraw(double w, double h) { super.handleDraw(w, h); if (this.getDeltaTime() > 1000L) { dispose(); } }