Interface GameEngine

  • All Known Subinterfaces:
    Client

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

      • getCanvas

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

        java.lang.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()