Package zombie.ui

Class UIManager

java.lang.Object
zombie.ui.UIManager

public final 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
    • UI

      public static final java.util.ArrayList 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
    • speedControls

      public static SpeedControls speedControls
    • DebugConsole

      public static UIDebugConsole DebugConsole
    • ServerToolbox

      public static UIServerToolbox ServerToolbox
    • MoodleUI

      public static final MoodlesUI[] MoodleUI
    • bFadeBeforeUI

      public static boolean bFadeBeforeUI
    • ProgressBar

      public static final ActionProgressBar[] ProgressBar
    • 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 final java.util.ArrayList DoneTutorials
    • lastOffX

      public static float lastOffX
    • lastOffY

      public static float lastOffY
    • KeyDownZoomIn

      public static boolean KeyDownZoomIn
    • KeyDownZoomOut

      public static boolean KeyDownZoomOut
    • doTick

      public static boolean doTick
    • VisibleAllUI

      public static boolean VisibleAllUI
    • UIFBO

      public static TextureFBO UIFBO
    • useUIFBO

      public static boolean useUIFBO
    • black

      public static Texture black
    • bSuspend

      public static boolean bSuspend
    • lastAlpha

      public static float lastAlpha
    • PickedTileLocal

      public static final Vector2 PickedTileLocal
    • PickedTile

      public static final Vector2 PickedTile
    • RightDownObject

      public static IsoObject RightDownObject
    • uiUpdateTimeMS

      public static long uiUpdateTimeMS
    • uiUpdateIntervalMS

      public static long uiUpdateIntervalMS
    • uiRenderTimeMS

      public static long uiRenderTimeMS
    • uiRenderIntervalMS

      public static long uiRenderIntervalMS
    • toTop

      public static final java.util.ArrayList toTop
    • defaultthread

      public static KahluaThread defaultthread
    • previousThread

      public static KahluaThread previousThread
  • Constructor Details

    • UIManager

      public UIManager()
  • Method Details

    • AddUI

      public static void AddUI​(UIElement uIElement)
    • RemoveElement

      public static void RemoveElement​(UIElement uIElement)
    • closeContainers

      public static void closeContainers()
    • CloseContainers

      public static void CloseContainers()
    • 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)
    • 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()
    • resize

      public static void resize()
    • getTileFromMouse

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

      public static void update()
    • 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)
    • getUI

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

      public static void setUI​(java.util.ArrayList arrayList)
    • 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)
    • getSpeedControls

      public static SpeedControls getSpeedControls()
    • setSpeedControls

      public static void setSpeedControls​(SpeedControls speedControls)
    • 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)
    • 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)
    • 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.ArrayList getDoneTutorials()
    • setDoneTutorials

      public static void setDoneTutorials​(java.util.ArrayList arrayList)
    • getLastOffX

      public static float getLastOffX()
    • setLastOffX

      public static void setLastOffX​(float float1)
    • getLastOffY

      public static float getLastOffY()
    • setLastOffY

      public static void setLastOffY​(float float1)
    • 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)
    • setShowLuaDebuggerOnError

      public static void setShowLuaDebuggerOnError​(boolean boolean1)
    • isShowLuaDebuggerOnError

      public static boolean isShowLuaDebuggerOnError()
    • 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()
    • onKeyPress

      public static boolean onKeyPress​(int int1)
    • onKeyRepeat

      public static boolean onKeyRepeat​(int int1)
    • onKeyRelease

      public static boolean onKeyRelease​(int int1)
    • isForceCursorVisible

      public static boolean isForceCursorVisible()