Interface GraphicEngine

    • Method Detail

      • printScreen

        void printScreen()
        Print the current rendering frame and save it in a file.
      • getGuiFactory

        GuiFactory getGuiFactory()
        Provide the module responsible to build GUI elements.
        Returns:
        The GuiBuilder.
      • getScreenSize

        be.yildizgames.module.window.ScreenSize getScreenSize()
      • createSelectionRectangle

        SelectionRectangle createSelectionRectangle​(Material border,
                                                    Material inner)
        Create a new Selection Rectangle, only one can be used at a time, if more than one is created, an exception is thrown.
        Parameters:
        border - Material to set.
        inner - Inner material.
        Returns:
        The created object.
      • createSkybox

        Skybox createSkybox​(String name,
                            String path)
        Create a sky box.
        Parameters:
        name - Sky box unique name.
        path - Path to images to use.
        Returns:
        The created object.
      • createFont

        Font createFont​(String path,
                        be.yildizgames.module.coordinate.Relative size,
                        be.yildizgames.module.color.Color color)
        Create a new font with a given color and a random name.
        Parameters:
        path - Path to the font file.
        size - Size of the font.
        color - Font color.
        Returns:
        The newly created font.
      • createFont

        Font createFont​(String name,
                        String path,
                        be.yildizgames.module.coordinate.Relative size)
        Create a new font.
        Parameters:
        name - Font name, must be unique.
        path - Path to the font file.
        size - Size of the font.
        Returns:
        The newly created font.
      • createFont

        Font createFont​(String name,
                        String path,
                        be.yildizgames.module.coordinate.Relative size,
                        be.yildizgames.module.color.Color color)
        Create a new font with a given color.
        Parameters:
        name - Font name, must be unique.
        path - Path to the font file.
        size - Size of the font.
        color - Font color.
        Returns:
        The newly created font.
      • createFont

        Font createFont​(String name,
                        String path,
                        int size,
                        be.yildizgames.module.color.Color color)
        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.
      • createFont

        Font createFont​(String name,
                        String path,
                        int size)
        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.
        Returns:
        The newly built font.
      • createFont

        Font createFont​(String path,
                        int size,
                        be.yildizgames.module.color.Color color)
        Create a new font with a given color and a random name.
        Parameters:
        path - Path to the font file.
        size - Size of the font.
        color - Font color.
        Returns:
        The newly created font.