Interface GameEngine

  • All Known Subinterfaces:
    Client

    public interface GameEngine
    Represents the client game engine.
    • Method Detail

      • getCanvas

        Canvas getCanvas()
        Gets the canvas that contains everything.
        Returns:
        the game canvas
      • getClientThread

        Thread getClientThread()
        Gets the client main thread.
        Returns:
        the main thread
      • isClientThread

        boolean isClientThread()
        Checks whether this code is executing on the client main thread.
        Returns:
        true if on the main thread, false otherwise
      • resizeCanvas

        void resizeCanvas()