Class DummyGraphicEngine

    • Method Detail

      • printScreen

        public void printScreen()
        Description copied from interface: GraphicEngine
        Print the current rendering frame and save it in a file.
      • addResourcePath

        public void addResourcePath​(be.yildizgames.common.file.ResourcePath resourcePath)
        Description copied from class: BaseGraphicEngine
        Add a folder to use to load resources.
        Specified by:
        addResourcePath in class BaseGraphicEngine
        Parameters:
        resourcePath - Data for the resources.
      • getGuiFactory

        public GuiFactory getGuiFactory()
        Description copied from interface: GraphicEngine
        Provide the module responsible to build GUI elements.
        Returns:
        The GuiBuilder.
      • createSkybox

        public Skybox createSkybox​(String name,
                                   String path)
        Description copied from interface: GraphicEngine
        Create a sky box.
        Parameters:
        name - Sky box unique name.
        path - Path to images to use.
        Returns:
        The created object.
      • createSelectionRectangle

        public SelectionRectangle createSelectionRectangle​(Material texture,
                                                           Material texture2)
        Description copied from interface: GraphicEngine
        Create a new Selection Rectangle, only one can be used at a time, if more than one is created, an exception is thrown.
        Parameters:
        texture - Material to set.
        texture2 - Inner material.
        Returns:
        The created object.
      • getFPS

        public float getFPS()
        Description copied from interface: FpsProvider
        Provide the frame per seconds.
        Returns:
        The rendered frames per seconds.
      • createFont

        public Font createFont​(String name,
                               String path,
                               int size,
                               be.yildizgames.module.color.Color color)
        Description copied from interface: GraphicEngine
        Create a new font to use to print text.
        Parameters:
        name - Name of the font, must be unique, used to retrieve it from the registerer.
        path - Path to the font file to load.
        size - Size of the font.
        color - Font color.
        Returns:
        The newly built font.
      • getScreenSize

        public be.yildizgames.module.window.ScreenSize getScreenSize()