Package zombie.ui
Class UIManager
java.lang.Object
zombie.ui.UIManager
public class UIManager
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UIManager()
-
Method Summary
Modifier and Type Method Description static void
AddTutorial(float float1, float float2, float float3, java.lang.String string, java.lang.String string2, boolean boolean1, float float4)
static void
AddTutorial(float float1, float float2, java.lang.String string, java.lang.String string2, boolean boolean1)
static void
AddTutorial(UIElement uIElement, double double1, double double2, java.lang.String string, java.lang.String string2, boolean boolean1)
static void
AddUI(UIElement uIElement)
static void
closeContainers()
static void
CloseContainers()
static void
CreateFBO(int int1, int int2)
static TextureFBO
createTexture(float float1, float float2, boolean boolean1)
static void
debugBreakpoint(java.lang.String string, long long1)
static void
DoModal(java.lang.String string, java.lang.String string2, boolean boolean1)
static void
DoModal(java.lang.String string, java.lang.String string2, boolean boolean1, UIEventHandler uIEventHandler)
static void
DoTutorialEndMessage()
static void
DrawTexture(Texture texture, double double1, double double2)
static void
DrawTexture(Texture texture, double double1, double double2, double double3, double double4, double double5)
static void
FadeIn(double double1)
static void
FadeIn(double double1, double double2)
static void
FadeOut(double double1)
static void
FadeOut(double double1, double double2)
static BodyDamage
getBD_Test()
static Texture
getBlack()
static MovementBlender
getBlendTest()
static Clock
getClock()
static ClothingPanel
getClothingPanel()
static NewCraftingPanel
getCrafting()
static UIDebugConsole
getDebugConsole()
static KahluaThread
getDefaultThread()
static DirectionSwitcher
getDirectionSwitcher()
static java.util.Stack
getDoneTutorials()
static java.lang.Double
getDoubleClickDist()
static java.lang.Double
getDoubleClickInterval()
static InventoryItem
getDragInventory()
static EnduranceWidget
getEndurance()
static java.lang.Double
getFadeAlpha()
static float
getFadeAlpha(double double1)
static java.lang.Double
getFadeInTime()
static java.lang.Double
getFadeInTimeMax()
static HUDButton
getHea()
static NewHealthPanel
getHealthPanel()
static HUDButton
getInv()
static float
getLastAlpha()
static Texture
getLastMouseTexture()
static java.lang.Double
getLastMouseX()
static java.lang.Double
getLastMouseY()
static float
getLastOffX()
static float
getLastOffY()
static IsoObject
getLastPicked()
static double
getMillisSinceLastRender()
static double
getMillisSinceLastUpdate()
static ModalDialog
getModal()
static MoodlesUI
getMoodleUI(double double1)
static Texture
getMouseArrow()
static Texture
getMouseAttack()
static Texture
getMouseExamine()
static Texture
getMouseGrab()
static QuestHUD
getOnscreenQuest()
static NewContainerPanel
getOpenContainer()
static IsoObjectPicker.ClickObject
getPicked()
static Vector2
getPickedTile()
static Vector2
getPickedTileLocal()
static ActionProgressBar
getProgressBar(double double1)
static QuestPanel
getQuestPanel()
static DoubleSizer
getResizer()
static IsoObject
getRightDownObject()
static double
getSecondsSinceLastRender()
static double
getSecondsSinceLastUpdate()
static UIServerToolbox
getServerToolbox()
static Sidebar
getSidebar()
static SpeedControls
getSpeedControls()
static StatsPage
getStatsPage()
static QuestControl
getTempQuest()
static NewWindow
getTempQuestWin()
static Vector2
getTileFromMouse(double double1, double double2, double double3)
static ObjectTooltip
getToolTip()
static TutorialPanel
getTutorial()
static java.util.Stack
getUI()
static void
init()
static void
initCharCreation()
static boolean
isbFadeBeforeUI()
static boolean
isDoMouseControls()
static java.lang.Boolean
isDoubleClick(double double1, double double2, double double3, double double4, double double5)
static java.lang.Boolean
isFadingOut()
static boolean
isFBOActive()
static boolean
isLastDoubleSize()
static boolean
isMouseOverInventory()
static boolean
isShowPausedMessage()
static void
RemoveElement(UIElement uIElement)
static void
render()
static void
resize()
static void
resizeCharCreation()
static void
setBD_Test(BodyDamage bodyDamage)
static void
setbFadeBeforeUI(boolean boolean1)
static void
setBlack(Texture texture)
static void
setBlendTest(MovementBlender movementBlender)
static void
setClock(Clock clock)
static void
setClothingPanel(ClothingPanel clothingPanel)
static void
setCrafting(NewCraftingPanel newCraftingPanel)
static void
setDebugConsole(UIDebugConsole uIDebugConsole)
static void
setDirectionSwitcher(DirectionSwitcher directionSwitcher)
static void
setDoMouseControls(boolean boolean1)
static void
setDoneTutorials(java.util.Stack stack)
static void
setDragInventory(InventoryItem inventoryItem)
static void
setEndurance(EnduranceWidget enduranceWidget)
static void
setFadeAlpha(double double1)
static void
setFadeBeforeUI(int int1, boolean boolean1)
static void
setFadeInTime(double double1)
static void
setFadeInTimeMax(double double1)
static void
setFadeTime(double double1, double double2)
static void
setFadingOut(boolean boolean1)
static void
setHea(HUDButton hUDButton)
static void
setHealthPanel(NewHealthPanel newHealthPanel)
static void
setInv(HUDButton hUDButton)
static void
setLastAlpha(float float1)
static void
setLastDoubleSize(boolean boolean1)
static void
setLastMouseTexture(Texture texture)
static void
setLastMouseX(double double1)
static void
setLastMouseY(double double1)
static void
setLastOffX(float float1)
static void
setLastOffY(float float1)
static void
setLastPicked(IsoObject object)
static void
setModal(ModalDialog modalDialog)
static void
setMoodleUI(double double1, MoodlesUI moodlesUI)
static void
setMouseArrow(Texture texture)
static void
setMouseAttack(Texture texture)
static void
setMouseExamine(Texture texture)
static void
setMouseGrab(Texture texture)
static void
setOnscreenQuest(QuestHUD questHUD)
static void
setPicked(IsoObjectPicker.ClickObject clickObject)
static void
setPickedTile(Vector2 vector2)
static void
setPickedTileLocal(Vector2 vector2)
static void
setPlayerInventory(int int1, UIElement uIElement, UIElement uIElement2)
static void
setPlayerInventoryTooltip(int int1, UIElement uIElement, UIElement uIElement2)
static void
setProgressBar(double double1, ActionProgressBar actionProgressBar)
static void
setQuestPanel(QuestPanel questPanel)
static void
setResizer(DoubleSizer doubleSizer)
static void
setRightDownObject(IsoObject object)
static void
setServerToolbox(UIServerToolbox uIServerToolbox)
static void
setShowPausedMessage(boolean boolean1)
static void
setSidebar(Sidebar sidebar)
static void
setSpeedControls(SpeedControls speedControls)
static void
setStatsPage(StatsPage statsPage)
static void
setTempQuest(QuestControl questControl)
static void
setTempQuestWin(NewWindow newWindow)
static void
setToolTip(ObjectTooltip objectTooltip)
static void
setTutorial(TutorialPanel tutorialPanel)
static void
setUI(java.util.Stack stack)
static void
setVisibleAllUI(boolean boolean1)
static void
update()
static void
updateBeforeFadeOut()
protected static void
updateTooltip(double double1, double double2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
lastMouseX
public static int lastMouseX -
lastMouseY
public static int lastMouseY -
Picked
-
clock
-
Endurance
-
UI
public static java.util.Stack UI -
toolTip
-
mouseArrow
-
mouseExamine
-
mouseAttack
-
mouseGrab
-
StatsPage
-
Tutorial
-
Inv
-
Hea
-
Resizer
-
directionSwitcher
-
BlendTest
-
sidebar
-
speedControls
-
DragInventory
-
crafting
-
HealthPanel
-
clothingPanel
-
questPanel
-
DebugConsole
-
ServerToolbox
-
MoodleUI
-
tempQuest
-
onscreenQuest
-
tempQuestWin
-
bFadeBeforeUI
public static boolean bFadeBeforeUI -
ProgressBar
-
BD_Test
-
FadeAlpha
public static float FadeAlpha -
FadeInTimeMax
public static int FadeInTimeMax -
FadeInTime
public static int FadeInTime -
FadingOut
public static boolean FadingOut -
lastMouseTexture
-
LastPicked
-
DoneTutorials
public static java.util.Stack DoneTutorials -
lastOffX
public static float lastOffX -
lastOffY
public static float lastOffY -
lastDoubleSize
public static boolean lastDoubleSize -
DoMouseControls
public static boolean DoMouseControls -
Modal
-
KeyDownZoomIn
public static boolean KeyDownZoomIn -
KeyDownZoomOut
public static boolean KeyDownZoomOut -
doTick
public static boolean doTick -
VisibleAllUI
public static boolean VisibleAllUI -
nativeCursor
public static org.lwjgl.input.Cursor nativeCursor -
UIFBO
-
useUIFBO
public static boolean useUIFBO -
FBO_ALPHA_MULT
public static float FBO_ALPHA_MULT -
black
-
DOUNUSED
public static boolean DOUNUSED -
bSuspend
public static boolean bSuspend -
lastAlpha
public static float lastAlpha -
PickedTileLocal
-
PickedTile
-
RightDownObject
-
uiUpdateCounter
public static float uiUpdateCounter -
uiUpdateTimeMS
public static long uiUpdateTimeMS -
uiUpdateIntervalMS
public static long uiUpdateIntervalMS -
uiRenderTimeMS
public static long uiRenderTimeMS -
uiRenderIntervalMS
public static long uiRenderIntervalMS -
toTop
public static java.util.ArrayList toTop -
defaultthread
-
-
Constructor Details
-
UIManager
public UIManager()
-
-
Method Details
-
AddTutorial
public static void AddTutorial(float float1, float float2, java.lang.String string, java.lang.String string2, boolean boolean1) -
DoModal
public static void DoModal(java.lang.String string, java.lang.String string2, boolean boolean1) -
AddUI
-
RemoveElement
-
DoModal
public static void DoModal(java.lang.String string, java.lang.String string2, boolean boolean1, UIEventHandler uIEventHandler) -
AddTutorial
public static void AddTutorial(UIElement uIElement, double double1, double double2, java.lang.String string, java.lang.String string2, boolean boolean1) -
AddTutorial
public static void AddTutorial(float float1, float float2, float float3, java.lang.String string, java.lang.String string2, boolean boolean1, float float4) -
closeContainers
public static void closeContainers() -
CloseContainers
public static void CloseContainers() -
DoTutorialEndMessage
public static void DoTutorialEndMessage() -
DrawTexture
-
DrawTexture
public static void DrawTexture(Texture texture, double double1, double double2, double double3, double double4, double double5) -
FadeIn
public static void FadeIn(double double1) -
FadeOut
public static void FadeOut(double double1) -
initCharCreation
public static void initCharCreation() -
CreateFBO
public static void CreateFBO(int int1, int int2) -
createTexture
public static TextureFBO createTexture(float float1, float float2, boolean boolean1) throws java.lang.Exception- Throws:
java.lang.Exception
-
init
public static void init() -
render
public static void render() -
resizeCharCreation
public static void resizeCharCreation() -
resize
public static void resize() -
getTileFromMouse
-
update
public static void update() -
getOpenContainer
-
getLastMouseX
public static java.lang.Double getLastMouseX() -
setLastMouseX
public static void setLastMouseX(double double1) -
getLastMouseY
public static java.lang.Double getLastMouseY() -
setLastMouseY
public static void setLastMouseY(double double1) -
getPicked
-
setPicked
-
getClock
-
setClock
-
getEndurance
-
setEndurance
-
getUI
public static java.util.Stack getUI() -
setUI
public static void setUI(java.util.Stack stack) -
getToolTip
-
setToolTip
-
getMouseArrow
-
setMouseArrow
-
getMouseExamine
-
setMouseExamine
-
getMouseAttack
-
setMouseAttack
-
getMouseGrab
-
setMouseGrab
-
getStatsPage
-
setStatsPage
-
getTutorial
-
setTutorial
-
getInv
-
setInv
-
getHea
-
setHea
-
getResizer
-
setResizer
-
getDirectionSwitcher
-
setDirectionSwitcher
-
getBlendTest
-
setBlendTest
-
getSidebar
-
setSidebar
-
getSpeedControls
-
setSpeedControls
-
getDragInventory
-
setDragInventory
-
getCrafting
-
setCrafting
-
getHealthPanel
-
setHealthPanel
-
getClothingPanel
-
setClothingPanel
-
getQuestPanel
-
setQuestPanel
-
getDebugConsole
-
setDebugConsole
-
getServerToolbox
-
setServerToolbox
-
getMoodleUI
-
setMoodleUI
-
getTempQuest
-
setTempQuest
-
getOnscreenQuest
-
setOnscreenQuest
-
getTempQuestWin
-
setTempQuestWin
-
isbFadeBeforeUI
public static boolean isbFadeBeforeUI() -
setbFadeBeforeUI
public static void setbFadeBeforeUI(boolean boolean1) -
getProgressBar
-
setProgressBar
-
getBD_Test
-
setBD_Test
-
getFadeAlpha
public static java.lang.Double getFadeAlpha() -
setFadeAlpha
public static void setFadeAlpha(double double1) -
getFadeInTimeMax
public static java.lang.Double getFadeInTimeMax() -
setFadeInTimeMax
public static void setFadeInTimeMax(double double1) -
getFadeInTime
public static java.lang.Double getFadeInTime() -
setFadeInTime
public static void setFadeInTime(double double1) -
isFadingOut
public static java.lang.Boolean isFadingOut() -
setFadingOut
public static void setFadingOut(boolean boolean1) -
getLastMouseTexture
-
setLastMouseTexture
-
getLastPicked
-
setLastPicked
-
getDoneTutorials
public static java.util.Stack getDoneTutorials() -
setDoneTutorials
public static void setDoneTutorials(java.util.Stack stack) -
getLastOffX
public static float getLastOffX() -
setLastOffX
public static void setLastOffX(float float1) -
getLastOffY
public static float getLastOffY() -
setLastOffY
public static void setLastOffY(float float1) -
isLastDoubleSize
public static boolean isLastDoubleSize() -
setLastDoubleSize
public static void setLastDoubleSize(boolean boolean1) -
isDoMouseControls
public static boolean isDoMouseControls() -
setDoMouseControls
public static void setDoMouseControls(boolean boolean1) -
getModal
-
setModal
-
getBlack
-
setBlack
-
getLastAlpha
public static float getLastAlpha() -
setLastAlpha
public static void setLastAlpha(float float1) -
getPickedTileLocal
-
setPickedTileLocal
-
getPickedTile
-
setPickedTile
-
getRightDownObject
-
setRightDownObject
-
isShowPausedMessage
public static boolean isShowPausedMessage() -
setShowPausedMessage
public static void setShowPausedMessage(boolean boolean1) -
debugBreakpoint
public static void debugBreakpoint(java.lang.String string, long long1) -
getDefaultThread
-
getDoubleClickInterval
public static java.lang.Double getDoubleClickInterval() -
getDoubleClickDist
public static java.lang.Double getDoubleClickDist() -
isDoubleClick
public static java.lang.Boolean isDoubleClick(double double1, double double2, double double3, double double4, double double5) -
updateTooltip
protected static void updateTooltip(double double1, double double2) -
setPlayerInventory
-
setPlayerInventoryTooltip
-
isMouseOverInventory
public static boolean isMouseOverInventory() -
updateBeforeFadeOut
public static void updateBeforeFadeOut() -
setVisibleAllUI
public static void setVisibleAllUI(boolean boolean1) -
setFadeBeforeUI
public static void setFadeBeforeUI(int int1, boolean boolean1) -
getFadeAlpha
public static float getFadeAlpha(double double1) -
setFadeTime
public static void setFadeTime(double double1, double double2) -
FadeIn
public static void FadeIn(double double1, double double2) -
FadeOut
public static void FadeOut(double double1, double double2) -
isFBOActive
public static boolean isFBOActive() -
getMillisSinceLastUpdate
public static double getMillisSinceLastUpdate() -
getSecondsSinceLastUpdate
public static double getSecondsSinceLastUpdate() -
getMillisSinceLastRender
public static double getMillisSinceLastRender() -
getSecondsSinceLastRender
public static double getSecondsSinceLastRender()
-