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 void positionChanged(PositionAPI position)
CustomUIPanelPlugin
positionChanged
in interface CustomUIPanelPlugin
positionChanged
in class BaseCustomUIPanelPlugin
public void advance(float amount)
advance
in interface CustomUIPanelPlugin
advance
in class BaseCustomUIPanelPlugin
amount
- in seconds.public void processInput(java.util.List<InputEventAPI> events)
CustomUIPanelPlugin
processInput
in interface CustomUIPanelPlugin
processInput
in class BaseCustomUIPanelPlugin
public void render(float alphaMult)
CustomUIPanelPlugin
render
in interface CustomUIPanelPlugin
render
in class BaseCustomUIPanelPlugin
public void renderBelow(float alphaMult)
CustomUIPanelPlugin
renderBelow
in interface CustomUIPanelPlugin
renderBelow
in class BaseCustomUIPanelPlugin
public void buttonPressed(java.lang.Object buttonId)
buttonPressed
in interface CustomUIPanelPlugin
buttonPressed
in class BaseCustomUIPanelPlugin
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.