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
    • 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 x, float y, java.lang.String title, java.lang.String string, boolean bAutoExpand)
    • DoModal

      public static void DoModal​(java.lang.String name, java.lang.String help, boolean bYesNo)
    • AddUI

      public static void AddUI​(UIElement el)
    • RemoveElement

      public static void RemoveElement​(UIElement el)
    • DoModal

      public static void DoModal​(java.lang.String name, java.lang.String help, boolean bYesNo, UIEventHandler handler)
    • AddTutorial

      public static void AddTutorial​(UIElement parent, double x, double y, java.lang.String title, java.lang.String string, boolean bAutoExpand)
    • AddTutorial

      public static void AddTutorial​(float x, float y, float z, java.lang.String title, java.lang.String string, boolean bAutoExpand, float yoff)
    • closeContainers

      public static void closeContainers()
    • CloseContainers

      public static void CloseContainers()
    • DoTutorialEndMessage

      public static void DoTutorialEndMessage()
    • DrawTexture

      public static void DrawTexture​(Texture tex, double x, double y)
    • DrawTexture

      public static void DrawTexture​(Texture tex, double x, double y, double width, double height, double alpha)
    • FadeIn

      public static void FadeIn​(double seconds)
    • FadeOut

      public static void FadeOut​(double seconds)
    • initCharCreation

      public static void initCharCreation()
    • CreateFBO

      public static void CreateFBO​(int width, int height)
    • createTexture

      public static TextureFBO createTexture​(float x, float y, boolean test) 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 mx, double my, double z)
    • update

      public static void update()
    • getOpenContainer

      public static NewContainerPanel getOpenContainer()
    • getLastMouseX

      public static java.lang.Double getLastMouseX()
    • setLastMouseX

      public static void setLastMouseX​(double aLastMouseX)
    • getLastMouseY

      public static java.lang.Double getLastMouseY()
    • setLastMouseY

      public static void setLastMouseY​(double aLastMouseY)
    • getPicked

      public static IsoObjectPicker.ClickObject getPicked()
    • setPicked

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

      public static Clock getClock()
    • setClock

      public static void setClock​(Clock aClock)
    • getEndurance

      public static EnduranceWidget getEndurance()
    • setEndurance

      public static void setEndurance​(EnduranceWidget aEndurance)
    • getUI

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

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

      public static ObjectTooltip getToolTip()
    • setToolTip

      public static void setToolTip​(ObjectTooltip aToolTip)
    • getMouseArrow

      public static Texture getMouseArrow()
    • setMouseArrow

      public static void setMouseArrow​(Texture aMouseArrow)
    • getMouseExamine

      public static Texture getMouseExamine()
    • setMouseExamine

      public static void setMouseExamine​(Texture aMouseExamine)
    • getMouseAttack

      public static Texture getMouseAttack()
    • setMouseAttack

      public static void setMouseAttack​(Texture aMouseAttack)
    • getMouseGrab

      public static Texture getMouseGrab()
    • setMouseGrab

      public static void setMouseGrab​(Texture aMouseGrab)
    • getStatsPage

      public static StatsPage getStatsPage()
    • setStatsPage

      public static void setStatsPage​(StatsPage aStatsPage)
    • getTutorial

      public static TutorialPanel getTutorial()
    • setTutorial

      public static void setTutorial​(TutorialPanel aTutorial)
    • getInv

      public static HUDButton getInv()
    • setInv

      public static void setInv​(HUDButton aInv)
    • getHea

      public static HUDButton getHea()
    • setHea

      public static void setHea​(HUDButton aHea)
    • getResizer

      public static DoubleSizer getResizer()
    • setResizer

      public static void setResizer​(DoubleSizer aResizer)
    • getDirectionSwitcher

      public static DirectionSwitcher getDirectionSwitcher()
    • setDirectionSwitcher

      public static void setDirectionSwitcher​(DirectionSwitcher aDirectionSwitcher)
    • getBlendTest

      public static MovementBlender getBlendTest()
    • setBlendTest

      public static void setBlendTest​(MovementBlender aBlendTest)
    • getSidebar

      public static Sidebar getSidebar()
    • setSidebar

      public static void setSidebar​(Sidebar aSidebar)
    • getSpeedControls

      public static SpeedControls getSpeedControls()
    • setSpeedControls

      public static void setSpeedControls​(SpeedControls aSpeedControls)
    • getDragInventory

      public static InventoryItem getDragInventory()
    • setDragInventory

      public static void setDragInventory​(InventoryItem aDragInventory)
    • getCrafting

      public static NewCraftingPanel getCrafting()
    • setCrafting

      public static void setCrafting​(NewCraftingPanel aCrafting)
    • getHealthPanel

      public static NewHealthPanel getHealthPanel()
    • setHealthPanel

      public static void setHealthPanel​(NewHealthPanel aHealthPanel)
    • getClothingPanel

      public static ClothingPanel getClothingPanel()
    • setClothingPanel

      public static void setClothingPanel​(ClothingPanel aClothingPanel)
    • getQuestPanel

      public static QuestPanel getQuestPanel()
    • setQuestPanel

      public static void setQuestPanel​(QuestPanel aQuestPanel)
    • getDebugConsole

      public static UIDebugConsole getDebugConsole()
    • setDebugConsole

      public static void setDebugConsole​(UIDebugConsole aDebugConsole)
    • getServerToolbox

      public static UIServerToolbox getServerToolbox()
    • setServerToolbox

      public static void setServerToolbox​(UIServerToolbox aServerToolbox)
    • getMoodleUI

      public static MoodlesUI getMoodleUI​(double index)
    • setMoodleUI

      public static void setMoodleUI​(double index, MoodlesUI aMoodleUI)
    • getTempQuest

      public static QuestControl getTempQuest()
    • setTempQuest

      public static void setTempQuest​(QuestControl aTempQuest)
    • getOnscreenQuest

      public static QuestHUD getOnscreenQuest()
    • setOnscreenQuest

      public static void setOnscreenQuest​(QuestHUD aOnscreenQuest)
    • getTempQuestWin

      public static NewWindow getTempQuestWin()
    • setTempQuestWin

      public static void setTempQuestWin​(NewWindow aTempQuestWin)
    • isbFadeBeforeUI

      public static boolean isbFadeBeforeUI()
    • setbFadeBeforeUI

      public static void setbFadeBeforeUI​(boolean abFadeBeforeUI)
    • getProgressBar

      public static ActionProgressBar getProgressBar​(double index)
    • setProgressBar

      public static void setProgressBar​(double index, ActionProgressBar aProgressBar)
    • getBD_Test

      public static BodyDamage getBD_Test()
    • setBD_Test

      public static void setBD_Test​(BodyDamage aBD_Test)
    • getFadeAlpha

      public static java.lang.Double getFadeAlpha()
    • setFadeAlpha

      public static void setFadeAlpha​(double aFadeAlpha)
    • getFadeInTimeMax

      public static java.lang.Double getFadeInTimeMax()
    • setFadeInTimeMax

      public static void setFadeInTimeMax​(double aFadeInTimeMax)
    • getFadeInTime

      public static java.lang.Double getFadeInTime()
    • setFadeInTime

      public static void setFadeInTime​(double aFadeInTime)
    • isFadingOut

      public static java.lang.Boolean isFadingOut()
    • setFadingOut

      public static void setFadingOut​(boolean aFadingOut)
    • getLastMouseTexture

      public static Texture getLastMouseTexture()
    • setLastMouseTexture

      public static void setLastMouseTexture​(Texture aLastMouseTexture)
    • getLastPicked

      public static IsoObject getLastPicked()
    • setLastPicked

      public static void setLastPicked​(IsoObject aLastPicked)
    • getDoneTutorials

      public static java.util.Stack getDoneTutorials()
    • setDoneTutorials

      public static void setDoneTutorials​(java.util.Stack aDoneTutorials)
    • getLastOffX

      public static float getLastOffX()
    • setLastOffX

      public static void setLastOffX​(float aLastOffX)
    • getLastOffY

      public static float getLastOffY()
    • setLastOffY

      public static void setLastOffY​(float aLastOffY)
    • isLastDoubleSize

      public static boolean isLastDoubleSize()
    • setLastDoubleSize

      public static void setLastDoubleSize​(boolean aLastDoubleSize)
    • isDoMouseControls

      public static boolean isDoMouseControls()
    • setDoMouseControls

      public static void setDoMouseControls​(boolean aDoMouseControls)
    • getModal

      public static ModalDialog getModal()
    • setModal

      public static void setModal​(ModalDialog aModal)
    • getBlack

      public static Texture getBlack()
    • setBlack

      public static void setBlack​(Texture aBlack)
    • getLastAlpha

      public static float getLastAlpha()
    • setLastAlpha

      public static void setLastAlpha​(float aLastAlpha)
    • getPickedTileLocal

      public static Vector2 getPickedTileLocal()
    • setPickedTileLocal

      public static void setPickedTileLocal​(Vector2 aPickedTileLocal)
    • getPickedTile

      public static Vector2 getPickedTile()
    • setPickedTile

      public static void setPickedTile​(Vector2 aPickedTile)
    • getRightDownObject

      public static IsoObject getRightDownObject()
    • setRightDownObject

      public static void setRightDownObject​(IsoObject aRightDownObject)
    • isShowPausedMessage

      public static boolean isShowPausedMessage()
    • setShowPausedMessage

      public static void setShowPausedMessage​(boolean showPausedMessage)
    • debugBreakpoint

      public static void debugBreakpoint​(java.lang.String filename, long pc)
    • 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 x1, double y1, double x2, double y2, double clickTime)
    • updateTooltip

      protected static void updateTooltip​(double mx, double my)
    • setPlayerInventory

      public static void setPlayerInventory​(int playerIndex, UIElement inventory, UIElement loot)
    • isMouseOverInventory

      public static boolean isMouseOverInventory()
    • updateBeforeFadeOut

      public static void updateBeforeFadeOut()
    • setFadeBeforeUI

      public static void setFadeBeforeUI​(int playerIndex, boolean bFadeBeforeUI)
    • getFadeAlpha

      public static float getFadeAlpha​(double playerIndex)
    • setFadeTime

      public static void setFadeTime​(double playerIndex, double FadeTime)
    • FadeIn

      public static void FadeIn​(double playerIndex, double seconds)
    • FadeOut

      public static void FadeOut​(double playerIndex, double seconds)
    • 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()