/** * Permite cambiar los FPS (Frames Per Second). * * @param fps Frames por segundo. */ public void setFPS(int fps) { timer.setTime(1 / fps); }