Package foundry.veil.editor
Class ExampleEditor
java.lang.Object
foundry.veil.editor.ExampleEditor
- All Implemented Interfaces:
Editor,AutoCloseable,org.lwjgl.system.NativeResource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidrender()Renders this editor to the screen.voidRenders elements into the menu bar.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface foundry.veil.editor.Editor
free, isEnabled, isOpen, onHide, onShow, renderLastMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Constructor Details
-
ExampleEditor
public ExampleEditor()
-
-
Method Details
-
renderMenuBar
public void renderMenuBar()Description copied from interface:EditorRenders elements into the menu bar. Only called ifEditor.isMenuBarEnabled()istrue.- Specified by:
renderMenuBarin interfaceEditor
-
render
public void render()Description copied from interface:EditorRenders this editor to the screen. -
isMenuBarEnabled
public boolean isMenuBarEnabled()- Specified by:
isMenuBarEnabledin interfaceEditor- Returns:
- Whether this editor should draw into the menu bar
-
getDisplayName
- Specified by:
getDisplayNamein interfaceEditor- Returns:
- The visible display name of this editor
-