Package zombie.ui

Class UIManager

java.lang.Object
zombie.ui.UIManager

public class UIManager
extends java.lang.Object
  • Field Details

    • lastMouseX

      public static int lastMouseX
    • lastMouseY

      public static int lastMouseY
    • Picked

      public static IsoObjectPicker.ClickObject Picked
    • clock

      public static Clock clock
    • Endurance

      public static EnduranceWidget Endurance
    • UI

      public static java.util.Stack UI
    • toolTip

      public static ObjectTooltip toolTip
    • mouseArrow

      public static Texture mouseArrow
    • mouseExamine

      public static Texture mouseExamine
    • mouseAttack

      public static Texture mouseAttack
    • mouseGrab

      public static Texture mouseGrab
    • StatsPage

      public static StatsPage StatsPage
    • Tutorial

      public static TutorialPanel Tutorial
    • Inv

      public static HUDButton Inv
    • Hea

      public static HUDButton Hea
    • Resizer

      public static DoubleSizer Resizer
    • directionSwitcher

      public static DirectionSwitcher directionSwitcher
    • BlendTest

      public static MovementBlender BlendTest
    • speedControls

      public static SpeedControls speedControls
    • DragInventory

      public static InventoryItem DragInventory
    • crafting

      public static NewCraftingPanel crafting
    • HealthPanel

      public static NewHealthPanel HealthPanel
    • clothingPanel

      public static ClothingPanel clothingPanel
    • questPanel

      public static QuestPanel questPanel
    • DebugConsole

      public static UIDebugConsole DebugConsole
    • ServerToolbox

      public static UIServerToolbox ServerToolbox
    • MoodleUI

      public static MoodlesUI[] MoodleUI
    • tempQuest

      public static QuestControl tempQuest
    • onscreenQuest

      public static QuestHUD onscreenQuest
    • tempQuestWin

      public static NewWindow tempQuestWin
    • bFadeBeforeUI

      public static boolean bFadeBeforeUI
    • ProgressBar

      public static ActionProgressBar[] ProgressBar
    • BD_Test

      public static BodyDamage BD_Test
    • FadeAlpha

      public static float FadeAlpha
    • FadeInTimeMax

      public static int FadeInTimeMax
    • FadeInTime

      public static int FadeInTime
    • FadingOut

      public static boolean FadingOut
    • lastMouseTexture

      public static Texture lastMouseTexture
    • LastPicked

      public static IsoObject 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
    • 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

      public static TextureFBO UIFBO
    • useUIFBO

      public static boolean useUIFBO
    • FBO_ALPHA_MULT

      public static float FBO_ALPHA_MULT
    • black

      public static Texture black
    • DOUNUSED

      public static boolean DOUNUSED
    • bSuspend

      public static boolean bSuspend
    • lastAlpha

      public static float lastAlpha
    • PickedTileLocal

      public static Vector2 PickedTileLocal
    • PickedTile

      public static Vector2 PickedTile
    • RightDownObject

      public static IsoObject 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

      public static KahluaThread 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

      public static void AddUI​(UIElement uIElement)
    • RemoveElement

      public static void RemoveElement​(UIElement uIElement)
    • 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

      public static void DrawTexture​(Texture texture, double double1, double double2)
    • 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

      public static Vector2 getTileFromMouse​(double double1, double double2, double double3)
    • update

      public static void update()
    • getOpenContainer

      public static NewContainerPanel 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

      public static IsoObjectPicker.ClickObject getPicked()
    • setPicked

      public static void setPicked​(IsoObjectPicker.ClickObject clickObject)
    • getClock

      public static Clock getClock()
    • setClock

      public static void setClock​(Clock clock)
    • getEndurance

      public static EnduranceWidget getEndurance()
    • setEndurance

      public static void setEndurance​(EnduranceWidget enduranceWidget)
    • getUI

      public static java.util.Stack getUI()
    • setUI

      public static void setUI​(java.util.Stack stack)
    • getToolTip

      public static ObjectTooltip getToolTip()
    • setToolTip

      public static void setToolTip​(ObjectTooltip objectTooltip)
    • getMouseArrow

      public static Texture getMouseArrow()
    • setMouseArrow

      public static void setMouseArrow​(Texture texture)
    • getMouseExamine

      public static Texture getMouseExamine()
    • setMouseExamine

      public static void setMouseExamine​(Texture texture)
    • getMouseAttack

      public static Texture getMouseAttack()
    • setMouseAttack

      public static void setMouseAttack​(Texture texture)
    • getMouseGrab

      public static Texture getMouseGrab()
    • setMouseGrab

      public static void setMouseGrab​(Texture texture)
    • getStatsPage

      public static StatsPage getStatsPage()
    • setStatsPage

      public static void setStatsPage​(StatsPage statsPage)
    • getTutorial

      public static TutorialPanel getTutorial()
    • setTutorial

      public static void setTutorial​(TutorialPanel tutorialPanel)
    • getInv

      public static HUDButton getInv()
    • setInv

      public static void setInv​(HUDButton hUDButton)
    • getHea

      public static HUDButton getHea()
    • setHea

      public static void setHea​(HUDButton hUDButton)
    • getResizer

      public static DoubleSizer getResizer()
    • setResizer

      public static void setResizer​(DoubleSizer doubleSizer)
    • getDirectionSwitcher

      public static DirectionSwitcher getDirectionSwitcher()
    • setDirectionSwitcher

      public static void setDirectionSwitcher​(DirectionSwitcher directionSwitcher)
    • getBlendTest

      public static MovementBlender getBlendTest()
    • setBlendTest

      public static void setBlendTest​(MovementBlender movementBlender)
    • getSidebar

      public static Sidebar getSidebar()
    • setSidebar

      public static void setSidebar​(Sidebar sidebar)
    • getSpeedControls

      public static SpeedControls getSpeedControls()
    • setSpeedControls

      public static void setSpeedControls​(SpeedControls speedControls)
    • getDragInventory

      public static InventoryItem getDragInventory()
    • setDragInventory

      public static void setDragInventory​(InventoryItem inventoryItem)
    • getCrafting

      public static NewCraftingPanel getCrafting()
    • setCrafting

      public static void setCrafting​(NewCraftingPanel newCraftingPanel)
    • getHealthPanel

      public static NewHealthPanel getHealthPanel()
    • setHealthPanel

      public static void setHealthPanel​(NewHealthPanel newHealthPanel)
    • getClothingPanel

      public static ClothingPanel getClothingPanel()
    • setClothingPanel

      public static void setClothingPanel​(ClothingPanel clothingPanel)
    • getQuestPanel

      public static QuestPanel getQuestPanel()
    • setQuestPanel

      public static void setQuestPanel​(QuestPanel questPanel)
    • getDebugConsole

      public static UIDebugConsole getDebugConsole()
    • setDebugConsole

      public static void setDebugConsole​(UIDebugConsole uIDebugConsole)
    • getServerToolbox

      public static UIServerToolbox getServerToolbox()
    • setServerToolbox

      public static void setServerToolbox​(UIServerToolbox uIServerToolbox)
    • getMoodleUI

      public static MoodlesUI getMoodleUI​(double double1)
    • setMoodleUI

      public static void setMoodleUI​(double double1, MoodlesUI moodlesUI)
    • getTempQuest

      public static QuestControl getTempQuest()
    • setTempQuest

      public static void setTempQuest​(QuestControl questControl)
    • getOnscreenQuest

      public static QuestHUD getOnscreenQuest()
    • setOnscreenQuest

      public static void setOnscreenQuest​(QuestHUD questHUD)
    • getTempQuestWin

      public static NewWindow getTempQuestWin()
    • setTempQuestWin

      public static void setTempQuestWin​(NewWindow newWindow)
    • isbFadeBeforeUI

      public static boolean isbFadeBeforeUI()
    • setbFadeBeforeUI

      public static void setbFadeBeforeUI​(boolean boolean1)
    • getProgressBar

      public static ActionProgressBar getProgressBar​(double double1)
    • setProgressBar

      public static void setProgressBar​(double double1, ActionProgressBar actionProgressBar)
    • getBD_Test

      public static BodyDamage getBD_Test()
    • setBD_Test

      public static void setBD_Test​(BodyDamage bodyDamage)
    • 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

      public static Texture getLastMouseTexture()
    • setLastMouseTexture

      public static void setLastMouseTexture​(Texture texture)
    • getLastPicked

      public static IsoObject getLastPicked()
    • setLastPicked

      public static void setLastPicked​(IsoObject object)
    • 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

      public static ModalDialog getModal()
    • setModal

      public static void setModal​(ModalDialog modalDialog)
    • getBlack

      public static Texture getBlack()
    • setBlack

      public static void setBlack​(Texture texture)
    • getLastAlpha

      public static float getLastAlpha()
    • setLastAlpha

      public static void setLastAlpha​(float float1)
    • getPickedTileLocal

      public static Vector2 getPickedTileLocal()
    • setPickedTileLocal

      public static void setPickedTileLocal​(Vector2 vector2)
    • getPickedTile

      public static Vector2 getPickedTile()
    • setPickedTile

      public static void setPickedTile​(Vector2 vector2)
    • getRightDownObject

      public static IsoObject getRightDownObject()
    • setRightDownObject

      public static void setRightDownObject​(IsoObject object)
    • isShowPausedMessage

      public static boolean isShowPausedMessage()
    • setShowPausedMessage

      public static void setShowPausedMessage​(boolean boolean1)
    • debugBreakpoint

      public static void debugBreakpoint​(java.lang.String string, long long1)
    • getDefaultThread

      public static KahluaThread 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

      public static void setPlayerInventory​(int int1, UIElement uIElement, UIElement uIElement2)
    • setPlayerInventoryTooltip

      public static void setPlayerInventoryTooltip​(int int1, UIElement uIElement, UIElement uIElement2)
    • 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()