コード例 #1
0
ファイル: FullScreen.java プロジェクト: unaguil/nu3a
 /**
  * Permite cambiar los FPS (Frames Per Second).
  *
  * @param fps Frames por segundo.
  */
 public void setFPS(int fps) {
   timer.setTime(1 / fps);
 }
コード例 #2
0
ファイル: FullScreen.java プロジェクト: unaguil/nu3a
 /** Inicia el timer que controla los FPS. */
 public void start() {
   timer.start();
 }