Class GameEngine

java.lang.Object
org.variantsync.diffdetective.show.engine.GameEngine

public class GameEngine extends Object
  • Field Details

    • DEFAULT_TARGET_FPS

      public static final int DEFAULT_TARGET_FPS
      See Also:
    • app

      private final App app
    • targetFPS

      private final int targetFPS
    • appThread

      private Thread appThread
  • Constructor Details

    • GameEngine

      public GameEngine(App app)
    • GameEngine

      public GameEngine(int targetFPS, App app)
  • Method Details

    • getApp

      public App getApp()
    • show

      public void show()
    • gameloop

      private void gameloop()
    • await

      public void await()
    • showAndAwait

      public void showAndAwait()
    • dontShowButRenderToTexture

      public Texture dontShowButRenderToTexture()
    • showAndAwaitAll

      public static void showAndAwaitAll(GameEngine... engines)
    • showAndAwaitAll

      public static void showAndAwaitAll(WindowLayout windowLayout, GameEngine... engines)