Class ExampleEditor

java.lang.Object
foundry.veil.editor.ExampleEditor
All Implemented Interfaces:
Editor, AutoCloseable, org.lwjgl.system.NativeResource

public class ExampleEditor extends Object implements Editor
  • Constructor Details

    • ExampleEditor

      public ExampleEditor()
  • Method Details

    • renderMenuBar

      public void renderMenuBar()
      Description copied from interface: Editor
      Renders elements into the menu bar. Only called if Editor.isMenuBarEnabled() is true.
      Specified by:
      renderMenuBar in interface Editor
    • render

      public void render()
      Description copied from interface: Editor
      Renders this editor to the screen.
      Specified by:
      render in interface Editor
    • isMenuBarEnabled

      public boolean isMenuBarEnabled()
      Specified by:
      isMenuBarEnabled in interface Editor
      Returns:
      Whether this editor should draw into the menu bar
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface Editor
      Returns:
      The visible display name of this editor