Starsector API
|
Public Member Functions | |
void | positionChanged (PositionAPI position) |
void | renderBelow (float alphaMult) |
void | render (float alphaMult) |
void | advance (float amount) |
void | processInput (List< InputEventAPI > events) |
void | buttonPressed (Object buttonId) |
Definition at line 8 of file BaseCustomUIPanelPlugin.java.
void com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin.advance | ( | float | amount | ) |
amount | in seconds. |
Implements com.fs.starfarer.api.campaign.CustomUIPanelPlugin.
Definition at line 22 of file BaseCustomUIPanelPlugin.java.
void com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin.buttonPressed | ( | Object | buttonId | ) |
Implements com.fs.starfarer.api.campaign.CustomUIPanelPlugin.
Definition at line 30 of file BaseCustomUIPanelPlugin.java.
void com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin.positionChanged | ( | PositionAPI | position | ) |
Called whenever the location or size of this UI panel changes.
position |
Implements com.fs.starfarer.api.campaign.CustomUIPanelPlugin.
Definition at line 10 of file BaseCustomUIPanelPlugin.java.
void com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin.processInput | ( | List< InputEventAPI > | events | ) |
List of input events that occurred this frame. (Almost) always includes one mouse move event.
Events should be consume()d if they are acted on. Mouse-move events should generally not be consumed. The loop processing events should check to see if an event has already been consumed, and if so, skip it. Accessing the data of a consumed event will throw an exception.
events |
Implements com.fs.starfarer.api.campaign.CustomUIPanelPlugin.
Definition at line 26 of file BaseCustomUIPanelPlugin.java.
void com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin.render | ( | float | alphaMult | ) |
alphaMult is the transparency the panel should be rendered at.
alphaMult |
Implements com.fs.starfarer.api.campaign.CustomUIPanelPlugin.
Definition at line 18 of file BaseCustomUIPanelPlugin.java.
void com.fs.starfarer.api.campaign.BaseCustomUIPanelPlugin.renderBelow | ( | float | alphaMult | ) |
Below any UI elements in the panel.
alphaMult |
Implements com.fs.starfarer.api.campaign.CustomUIPanelPlugin.
Definition at line 14 of file BaseCustomUIPanelPlugin.java.