Class SimpleManager

    • Constructor Detail

      • SimpleManager

        protected SimpleManager()
        Initializes the contents of the SimpleManager.
    • Method Detail

      • processKeysDown

        public void processKeysDown()
        Description copied from interface: LogicManager
        Allows the logic manager to process keys that are currently pressed.
        Specified by:
        processKeysDown in interface LogicManager
      • render

        public void render​(Display display)
        Renders the contents of the manager's DrawableManager to the Display.
        Specified by:
        render in interface LogicManager
        Parameters:
        display - The Display that the game renders to.
      • getCamera

        public Camera getCamera()
        Gets the Camera of the manager.
        Returns:
        The manager's camera.
      • reset

        public void reset()
        Description copied from interface: LogicManager
        Resets the logic manager entirely.

        This method is called when the engine exits. Due to the game engine's mutability, it is preferred that all resources of the game engine are removed gracefully.

        FOR IMPLEMENTORS: By the end of this method call, the logic manager should have released all its resources.

        Specified by:
        reset in interface LogicManager