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 voidAddUI(UIElement uIElement)static voidcloseContainers()static voidCloseContainers()static voidCreateFBO(int int1, int int2)static TextureFBOcreateTexture(float float1, float float2, boolean boolean1)static voiddebugBreakpoint(java.lang.String string, long long1)static voidDrawTexture(Texture texture, double double1, double double2)static voidDrawTexture(Texture texture, double double1, double double2, double double3, double double4, double double5)static voidFadeIn(double double1)static voidFadeIn(double double1, double double2)static voidFadeOut(double double1)static voidFadeOut(double double1, double double2)static TexturegetBlack()static ClockgetClock()static UIDebugConsolegetDebugConsole()static KahluaThreadgetDefaultThread()static java.util.ArrayListgetDoneTutorials()static java.lang.DoublegetDoubleClickDist()static java.lang.DoublegetDoubleClickInterval()static java.lang.DoublegetFadeAlpha()static floatgetFadeAlpha(double double1)static java.lang.DoublegetFadeInTime()static java.lang.DoublegetFadeInTimeMax()static floatgetLastAlpha()static TexturegetLastMouseTexture()static java.lang.DoublegetLastMouseX()static java.lang.DoublegetLastMouseY()static floatgetLastOffX()static floatgetLastOffY()static IsoObjectgetLastPicked()static doublegetMillisSinceLastRender()static doublegetMillisSinceLastUpdate()static ModalDialoggetModal()static MoodlesUIgetMoodleUI(double double1)static TexturegetMouseArrow()static TexturegetMouseAttack()static TexturegetMouseExamine()static TexturegetMouseGrab()static IsoObjectPicker.ClickObjectgetPicked()static Vector2getPickedTile()static Vector2getPickedTileLocal()static ActionProgressBargetProgressBar(double double1)static IsoObjectgetRightDownObject()static doublegetSecondsSinceLastRender()static doublegetSecondsSinceLastUpdate()static UIServerToolboxgetServerToolbox()static SpeedControlsgetSpeedControls()static Vector2getTileFromMouse(double double1, double double2, double double3)static ObjectTooltipgetToolTip()static java.util.ArrayListgetUI()static voidinit()static booleanisbFadeBeforeUI()static java.lang.BooleanisDoubleClick(double double1, double double2, double double3, double double4, double double5)static java.lang.BooleanisFadingOut()static booleanisFBOActive()static booleanisForceCursorVisible()static booleanisMouseOverInventory()static booleanisShowLuaDebuggerOnError()static booleanisShowPausedMessage()static booleanonKeyPress(int int1)static booleanonKeyRelease(int int1)static booleanonKeyRepeat(int int1)static voidRemoveElement(UIElement uIElement)static voidrender()static voidresize()static voidsetbFadeBeforeUI(boolean boolean1)static voidsetBlack(Texture texture)static voidsetClock(Clock clock)static voidsetDebugConsole(UIDebugConsole uIDebugConsole)static voidsetDoneTutorials(java.util.ArrayList arrayList)static voidsetFadeAlpha(double double1)static voidsetFadeBeforeUI(int int1, boolean boolean1)static voidsetFadeInTime(double double1)static voidsetFadeInTimeMax(double double1)static voidsetFadeTime(double double1, double double2)static voidsetFadingOut(boolean boolean1)static voidsetLastAlpha(float float1)static voidsetLastMouseTexture(Texture texture)static voidsetLastMouseX(double double1)static voidsetLastMouseY(double double1)static voidsetLastOffX(float float1)static voidsetLastOffY(float float1)static voidsetLastPicked(IsoObject object)static voidsetModal(ModalDialog modalDialog)static voidsetMoodleUI(double double1, MoodlesUI moodlesUI)static voidsetMouseArrow(Texture texture)static voidsetMouseAttack(Texture texture)static voidsetMouseExamine(Texture texture)static voidsetMouseGrab(Texture texture)static voidsetPicked(IsoObjectPicker.ClickObject clickObject)static voidsetPickedTile(Vector2 vector2)static voidsetPickedTileLocal(Vector2 vector2)static voidsetPlayerInventory(int int1, UIElement uIElement, UIElement uIElement2)static voidsetPlayerInventoryTooltip(int int1, UIElement uIElement, UIElement uIElement2)static voidsetProgressBar(double double1, ActionProgressBar actionProgressBar)static voidsetRightDownObject(IsoObject object)static voidsetServerToolbox(UIServerToolbox uIServerToolbox)static voidsetShowLuaDebuggerOnError(boolean boolean1)static voidsetShowPausedMessage(boolean boolean1)static voidsetSpeedControls(SpeedControls speedControls)static voidsetToolTip(ObjectTooltip objectTooltip)static voidsetUI(java.util.ArrayList arrayList)static voidsetVisibleAllUI(boolean boolean1)static voidupdate()static voidupdateBeforeFadeOut()protected static voidupdateTooltip(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()
-