public class ExampleCustomUIPanel extends BaseCustomUIPanelPlugin
| Constructor and Description |
|---|
ExampleCustomUIPanel() |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount) |
void |
buttonPressed(java.lang.Object buttonId) |
void |
positionChanged(PositionAPI position)
Called whenever the location or size of this UI panel changes.
|
void |
processInput(java.util.List<InputEventAPI> events)
List of input events that occurred this frame.
|
void |
render(float alphaMult)
alphaMult is the transparency the panel should be rendered at.
|
void |
renderBelow(float alphaMult)
Below any UI elements in the panel.
|
public ExampleCustomUIPanel()
public void positionChanged(PositionAPI position)
CustomUIPanelPluginpositionChanged in interface CustomUIPanelPluginpositionChanged in class BaseCustomUIPanelPluginpublic void advance(float amount)
advance in interface CustomUIPanelPluginadvance in class BaseCustomUIPanelPluginamount - in seconds.public void processInput(java.util.List<InputEventAPI> events)
CustomUIPanelPluginprocessInput in interface CustomUIPanelPluginprocessInput in class BaseCustomUIPanelPluginpublic void render(float alphaMult)
CustomUIPanelPluginrender in interface CustomUIPanelPluginrender in class BaseCustomUIPanelPluginpublic void renderBelow(float alphaMult)
CustomUIPanelPluginrenderBelow in interface CustomUIPanelPluginrenderBelow in class BaseCustomUIPanelPluginpublic void buttonPressed(java.lang.Object buttonId)
buttonPressed in interface CustomUIPanelPluginbuttonPressed in class BaseCustomUIPanelPlugin