Package com.prineside.tdi2.ui.actors
Class SideMenu
java.lang.Object
com.prineside.tdi2.ui.actors.SideMenu
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
Background is set manually (see GraphicsSystem)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
com.badlogic.gdx.scenes.scene2d.ui.Image
static final float
final UiManager.UiLayer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(SideMenu.SideMenuListener listener) void
createContainer
(String name) void
dispose()
Releases all resources of this object.void
com.badlogic.gdx.scenes.scene2d.Group
void
boolean
boolean
void
removeListener
(SideMenu.SideMenuListener listener) void
setOffscreen
(boolean offscreen) void
setVisible
(boolean visible) void
showSideTooltip
(CharSequence message, float y)
-
Field Details
-
DEFAULT_WIDTH
public static final float DEFAULT_WIDTH- See Also:
-
TOGGLE_BUTTON_WIDTH
public static final float TOGGLE_BUTTON_WIDTH- See Also:
-
uiLayer
-
sideShadow
public com.badlogic.gdx.scenes.scene2d.ui.Image sideShadow
-
-
Constructor Details
-
SideMenu
public SideMenu(float width)
-
-
Method Details
-
addOffscreenBackground
public void addOffscreenBackground() -
finalFadeOut
public void finalFadeOut() -
getBackgroundContainer
public com.badlogic.gdx.scenes.scene2d.Group getBackgroundContainer() -
showSideTooltip
-
hideSideTooltip
public void hideSideTooltip() -
addListener
-
removeListener
-
setVisible
public void setVisible(boolean visible) -
setOffscreen
public void setOffscreen(boolean offscreen) -
isVisible
public boolean isVisible() -
isOffscreen
public boolean isOffscreen() -
createContainer
-
dispose
public void dispose()Description copied from interface:com.badlogic.gdx.utils.Disposable
Releases all resources of this object.- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-