Package zombie.ui
Class UIManager
java.lang.Object
zombie.ui.UIManager
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
static Texture
static boolean
static Clock
static UIDebugConsole
static KahluaThread
static final ArrayList
static boolean
static float
static int
static int
static boolean
static boolean
static boolean
static float
static Texture
static int
static int
static float
static float
static IsoObject
static String
static ModalDialog
static final MoodlesUI[]
static Texture
static Texture
static Texture
static Texture
static IsoObjectPicker.ClickObject
static final Vector2
static final Vector2
static KahluaThread
static final ActionProgressBar[]
static IsoObject
static UIServerToolbox
static SpeedControls
static ObjectTooltip
static final ArrayList
static final ArrayList
static TextureFBO
static long
static long
static long
static long
static boolean
static boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
static void
static void
static void
CreateFBO
(int int1, int int2) static TextureFBO
createTexture
(float float1, float float2, boolean boolean1) static void
debugBreakpoint
(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
static KahluaThread
static ArrayList
static Double
static Double
static Double
static float
getFadeAlpha
(double double1) static Double
static Double
static float
static Texture
static Double
static Double
static float
static float
static IsoObject
static double
static double
static ModalDialog
getModal()
static MoodlesUI
getMoodleUI
(double double1) static Texture
static Texture
static Texture
static Texture
static IsoObjectPicker.ClickObject
static Vector2
static Vector2
static ActionProgressBar
getProgressBar
(double double1) static IsoObject
static double
static double
static UIServerToolbox
static SpeedControls
static Vector2
getTileFromMouse
(double double1, double double2, double double3) static ObjectTooltip
static ArrayList
getUI()
static void
init()
static boolean
static Boolean
isDoubleClick
(double double1, double double2, double double3, double double4, double double5) static Boolean
static boolean
static boolean
static boolean
static boolean
static boolean
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
static void
static void
setDebugConsole
(UIDebugConsole uIDebugConsole) static void
setDoneTutorials
(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
static void
setVisibleAllUI
(boolean boolean1) static void
update()
static void
protected static void
updateTooltip
(double double1, double double2)
-
Field Details
-
lastMouseX
public static int lastMouseX -
lastMouseY
public static int lastMouseY -
Picked
-
clock
-
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
-
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
-
defaultthread
-
previousThread
-
luaDebuggerAction
-
-
Constructor Details
-
UIManager
public UIManager()
-
-
Method Details
-
AddUI
-
RemoveElement
-
clearArrays
public static void clearArrays() -
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 Exception - Throws:
Exception
-
init
public static void init() -
render
public static void render() -
resize
public static void resize() -
getTileFromMouse
-
update
public static void update() -
getLastMouseX
-
setLastMouseX
public static void setLastMouseX(double double1) -
getLastMouseY
-
setLastMouseY
public static void setLastMouseY(double double1) -
getPicked
-
setPicked
-
getClock
-
setClock
-
getUI
-
setUI
-
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
-
setFadeAlpha
public static void setFadeAlpha(double double1) -
getFadeInTimeMax
-
setFadeInTimeMax
public static void setFadeInTimeMax(double double1) -
getFadeInTime
-
setFadeInTime
public static void setFadeInTime(double double1) -
isFadingOut
-
setFadingOut
public static void setFadingOut(boolean boolean1) -
getLastMouseTexture
-
setLastMouseTexture
-
getLastPicked
-
setLastPicked
-
getDoneTutorials
-
setDoneTutorials
-
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
-
getDefaultThread
-
getDoubleClickInterval
-
getDoubleClickDist
-
isDoubleClick
public static 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()
-