public class UiEditor extends org.mini2Dx.core.game.BasicGame implements org.mini2Dx.core.game.GameResizeListener, ActionListener
| Constructor and Description |
|---|
UiEditor(java.lang.String directory,
java.lang.String gameThemePath) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDirectory() |
void |
goToInitialModal() |
void |
initialise() |
void |
interpolate(float alpha) |
void |
newFile(EditorNewFileListener listener) |
void |
onActionBegin(ActionEvent event)
Called when an action event begins (e.g.
|
void |
onActionEnd(ActionEvent event)
Called when an action event ends (e.g.
|
void |
onResize(int width,
int height) |
void |
openFile(EditorOpenFileListener listener) |
void |
render(org.mini2Dx.core.graphics.Graphics g) |
void |
update(float delta) |
keyDown, keyTyped, keyUp, mouseMoved, onPause, onResume, preinit, scrolled, touchDown, touchDragged, touchUppublic UiEditor(java.lang.String directory,
java.lang.String gameThemePath)
public void initialise()
initialise in class org.mini2Dx.core.game.GameContainerpublic void update(float delta)
update in class org.mini2Dx.core.game.GameContainerpublic void interpolate(float alpha)
interpolate in class org.mini2Dx.core.game.GameContainerpublic void render(org.mini2Dx.core.graphics.Graphics g)
render in class org.mini2Dx.core.game.GameContainerpublic void onResize(int width,
int height)
onResize in interface org.mini2Dx.core.game.GameResizeListenerpublic void goToInitialModal()
public void newFile(EditorNewFileListener listener)
public void openFile(EditorOpenFileListener listener)
public void onActionBegin(ActionEvent event)
ActionListeneronActionBegin in interface ActionListenerevent - An ActionEvent instance containing the event detailspublic void onActionEnd(ActionEvent event)
ActionListeneronActionEnd in interface ActionListenerevent - An ActionEvent instance containing the event detailspublic java.lang.String getDirectory()