Class PlayerMenu
- java.lang.Object
-
- net.egartley.beyondorigins.ingame.PlayerMenu
-
-
Field Summary
Fields Modifier and Type Field Description private org.newdawn.slick.Color
backgroundColor
PlayerInventory
inventoryPanel
ClickableArea
inventoryPanelTab
UIElement
panel
The current panel being shownQuestsPanel
questsPanel
ClickableArea
questsPanelTab
java.util.ArrayList<ClickableArea>
tabs
-
Constructor Summary
Constructors Constructor Description PlayerMenu()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
onTabClicked(ClickableArea clickedTab)
Called when a tab (rather its clickable area) is clicked by the uservoid
render(org.newdawn.slick.Graphics graphics)
void
tick()
-
-
-
Field Detail
-
backgroundColor
private final org.newdawn.slick.Color backgroundColor
-
panel
public UIElement panel
The current panel being shown
-
inventoryPanel
public PlayerInventory inventoryPanel
-
questsPanel
public QuestsPanel questsPanel
-
tabs
public java.util.ArrayList<ClickableArea> tabs
-
inventoryPanelTab
public ClickableArea inventoryPanelTab
-
questsPanelTab
public ClickableArea questsPanelTab
-
-
Method Detail
-
onTabClicked
private void onTabClicked(ClickableArea clickedTab)
Called when a tab (rather its clickable area) is clicked by the user- Parameters:
clickedTab
- The tab that was clicked
-
render
public void render(org.newdawn.slick.Graphics graphics)
-
-