Package com.prineside.tdi2.ui.shared
Class ProfileSummary
java.lang.Object
com.prineside.tdi2.managers.UiManager.UiComponent.Adapter
com.prineside.tdi2.ui.shared.ProfileSummary
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,UiManager.UiComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.prineside.tdi2.managers.UiManager.UiComponent
UiManager.UiComponent.Adapter
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.badlogic.gdx.scenes.scene2d.ui.Image
final com.badlogic.gdx.scenes.scene2d.ui.Label
final UiManager.UiLayer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
hide()
static ProfileSummary
i()
void
postRender
(float deltaTime) setVisible
(boolean visible) setVisible
(boolean visible, boolean enableClick) void
showXpGained
(int regular, int bonus, boolean bonusLeft, boolean regularLeft) Fade invoid
void
update()
Methods inherited from class com.prineside.tdi2.managers.UiManager.UiComponent.Adapter
dispose, preRender
-
Field Details
-
uiLayer
-
avatar
public final com.badlogic.gdx.scenes.scene2d.ui.Image avatar -
hintLabel
public final com.badlogic.gdx.scenes.scene2d.ui.Label hintLabel
-
-
Constructor Details
-
ProfileSummary
public ProfileSummary()
-
-
Method Details
-
i
-
toggleXpInfoDropdown
public void toggleXpInfoDropdown() -
update
public void update() -
showXpGained
public void showXpGained(int regular, int bonus, boolean bonusLeft, boolean regularLeft) Fade in -
hide
public void hide() -
postRender
public void postRender(float deltaTime) - Specified by:
postRender
in interfaceUiManager.UiComponent
- Overrides:
postRender
in classUiManager.UiComponent.Adapter
-
setVisible
-
setVisible
-