Package zombie.ui
Class UIManager
java.lang.Object
zombie.ui.UIManager
public final class UIManager
extends java.lang.Object
-
Field Summary
-
Constructor Summary
Constructors Constructor Description UIManager()
-
Method Summary
Modifier and Type Method Description 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
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 Texture
getBlack()
static Clock
getClock()
static UIDebugConsole
getDebugConsole()
static KahluaThread
getDefaultThread()
static java.util.ArrayList
getDoneTutorials()
static java.lang.Double
getDoubleClickDist()
static java.lang.Double
getDoubleClickInterval()
static java.lang.Double
getFadeAlpha()
static float
getFadeAlpha(double double1)
static java.lang.Double
getFadeInTime()
static java.lang.Double
getFadeInTimeMax()
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 IsoObjectPicker.ClickObject
getPicked()
static Vector2
getPickedTile()
static Vector2
getPickedTileLocal()
static ActionProgressBar
getProgressBar(double double1)
static IsoObject
getRightDownObject()
static double
getSecondsSinceLastRender()
static double
getSecondsSinceLastUpdate()
static UIServerToolbox
getServerToolbox()
static SpeedControls
getSpeedControls()
static Vector2
getTileFromMouse(double double1, double double2, double double3)
static ObjectTooltip
getToolTip()
static java.util.ArrayList
getUI()
static void
init()
static boolean
isbFadeBeforeUI()
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
isForceCursorVisible()
static boolean
isMouseOverInventory()
static boolean
isShowLuaDebuggerOnError()
static boolean
isShowPausedMessage()
static boolean
onKeyPress(int int1)
static boolean
onKeyRelease(int int1)
static boolean
onKeyRepeat(int int1)
static void
RemoveElement(UIElement uIElement)
static void
render()
static void
resize()
static void
setbFadeBeforeUI(boolean boolean1)
static void
setBlack(Texture texture)
static void
setClock(Clock clock)
static void
setDebugConsole(UIDebugConsole uIDebugConsole)
static void
setDoneTutorials(java.util.ArrayList arrayList)
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
setLastAlpha(float float1)
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
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
setRightDownObject(IsoObject object)
static void
setServerToolbox(UIServerToolbox uIServerToolbox)
static void
setShowLuaDebuggerOnError(boolean boolean1)
static void
setShowPausedMessage(boolean boolean1)
static void
setSpeedControls(SpeedControls speedControls)
static void
setToolTip(ObjectTooltip objectTooltip)
static void
setUI(java.util.ArrayList arrayList)
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
-
UI
public static final java.util.ArrayList UI -
toolTip
-
mouseArrow
-
mouseExamine
-
mouseAttack
-
mouseGrab
-
speedControls
-
DebugConsole
-
ServerToolbox
-
MoodleUI
-
bFadeBeforeUI
public static boolean bFadeBeforeUI -
ProgressBar
-
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 final java.util.ArrayList DoneTutorials -
lastOffX
public static float lastOffX -
lastOffY
public static float lastOffY -
Modal
-
KeyDownZoomIn
public static boolean KeyDownZoomIn -
KeyDownZoomOut
public static boolean KeyDownZoomOut -
doTick
public static boolean doTick -
VisibleAllUI
public static boolean VisibleAllUI -
UIFBO
-
useUIFBO
public static boolean useUIFBO -
black
-
bSuspend
public static boolean bSuspend -
lastAlpha
public static float lastAlpha -
PickedTileLocal
-
PickedTile
-
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
-
previousThread
-
-
Constructor Details
-
UIManager
public UIManager()
-
-
Method Details
-
AddUI
-
RemoveElement
-
closeContainers
public static void closeContainers() -
CloseContainers
public static void CloseContainers() -
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) -
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
-
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
-
setPicked
-
getClock
-
setClock
-
getUI
public static java.util.ArrayList getUI() -
setUI
public static void setUI(java.util.ArrayList arrayList) -
getToolTip
-
setToolTip
-
getMouseArrow
-
setMouseArrow
-
getMouseExamine
-
setMouseExamine
-
getMouseAttack
-
setMouseAttack
-
getMouseGrab
-
setMouseGrab
-
getSpeedControls
-
setSpeedControls
-
getDebugConsole
-
setDebugConsole
-
getServerToolbox
-
setServerToolbox
-
getMoodleUI
-
setMoodleUI
-
isbFadeBeforeUI
public static boolean isbFadeBeforeUI() -
setbFadeBeforeUI
public static void setbFadeBeforeUI(boolean boolean1) -
getProgressBar
-
setProgressBar
-
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.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
-
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) -
setShowLuaDebuggerOnError
public static void setShowLuaDebuggerOnError(boolean boolean1) -
isShowLuaDebuggerOnError
public static boolean isShowLuaDebuggerOnError() -
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() -
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()
-