Class UIWorldMap
java.lang.Object
zombie.ui.UIElement
zombie.worldMap.UIWorldMap
- All Implemented Interfaces:
UIElementInterface
-
Field Summary
Fields inherited from class UIElement
alwaysBack, alwaysOnTop, anchorBottom, anchorLeft, anchorRight, anchorTop, capture, clickedValue, controls, defaultDraw, followGameWorld, height, ignoreLossControl, maxDrawHeight, parent, playerContext, scrollChildren, scrollWithParent, table, visible, width, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidDrawSymbol(Texture tex, double pointOfRotationX, double pointOfRotationY, double width, double height, double degrees, double scale, boolean bMatchPerspective, boolean bApplyZoom, double r, double g, double b, double a) voidDrawTextSdf(UIFont font, String text, double x, double y, double scale, double r, double g, double b, double alpha) voidDrawTextSdfRotated(String layerID, String text, double pointOfRotationX, double pointOfRotationY, double anchorX, double anchorY, double degrees, double scale, boolean bMatchPerspective, boolean bApplyZoom, double r, double g, double b, double alpha) getAPI()getAPIv1()getAPIv2()getAPIv3()booleanonMouseDown(double x, double y) onMouseMove(double dx, double dy) onMouseUp(double x, double y) voidonMouseUpOutside(double x, double y) onMouseWheel(double delta) voidrender()voidvoidsetDoStencil(boolean value) static voidsetExposed(LuaManager.Exposer exposer) voidsetMapEditor(boolean b) voidupdate()Methods inherited from class UIElement
AddChild, backMost, bringToTop, BringToTop, ButtonClicked, clampToParentX, clampToParentY, ClearChildren, clearMaxDrawHeight, clearStencilRect, DrawItemIcon, DrawLine, DrawPolygon, DrawScriptItemIcon, DrawSubTextureRGBA, DrawText, DrawText, DrawText, DrawText, DrawTextCentre, DrawTextCentre, DrawTextRight, DrawTextRight, DrawTextUntrimmed, DrawTexture, DrawTexture, DrawTexture_FlippedX, DrawTexture_FlippedXIgnoreOffset, DrawTextureAngle, DrawTextureAngle, DrawTextureCol, DrawTextureColor, DrawTextureIcon, DrawTextureIconMask, DrawTextureIgnoreOffset, DrawTexturePercentage, DrawTexturePercentageBottomUp, DrawTextureScaled, DrawTextureScaledAspect, DrawTextureScaledAspect2, DrawTextureScaledAspect3, DrawTextureScaledCol, DrawTextureScaledCol, DrawTextureScaledColor, DrawTextureScaledUniform, DrawTextureTiled, DrawTextureTiledX, DrawTextureTiledY, DrawTextureTiledYOffset, DrawUVSliceTexture, EndOutline, getAbsoluteX, getAbsoluteY, getClickedValue, getControls, getHeight, getMaxDrawHeight, getParent, getPlayerContext, getRenderThisPlayerOnly, getScrollChildren, getScrollHeight, getScrollWithParent, getTable, getUIName, getWidth, getX, getXScroll, getXScrolled, getY, getYScroll, getYScrolled, ignoreHeightChange, ignoreWidthChange, isAlwaysOnTop, isAnchorBottom, isAnchorLeft, isAnchorRight, isAnchorTop, isBackMost, isCapture, isConsumeMouseEvents, isDefaultDraw, isEnabled, isFollowGameWorld, isForceCursorVisible, isIgnoreLossControl, isKeyConsumed, isModalVisible, isMouseOver, isOverElement, isPointOver, isReallyVisible, isVisible, isWantExtraMouseEvents, isWantKeyEvents, onConsumeKeyPress, onConsumeKeyRelease, onConsumeKeyRepeat, onConsumeMouseButtonDown, onConsumeMouseButtonUp, onConsumeMouseMove, onConsumeMouseWheel, onExtendMouseMoveOutside, onKeyPress, onKeyRelease, onKeyRepeat, onMouseButtonDown, onMouseButtonDownOutside, onMouseButtonUpOutside, onMouseMoveOutside, onresize, onResize, onRightMouseDown, onRightMouseUp, RemoveChild, RemoveControl, repaintStencilRect, resumeStencil, setAlwaysOnTop, setAnchorBottom, setAnchorLeft, setAnchorRight, setAnchorTop, setCapture, setClickedValue, setConsumeMouseEvents, setControls, setDefaultDraw, setEnabled, setFollowGameWorld, setForceCursorVisible, setHeight, setHeightOnly, setHeightSilent, setIgnoreLossControl, setMaxDrawHeight, setParent, setPlayerContext, setRenderClippedChildren, setRenderThisPlayerOnly, setScrollChildren, setScrollHeight, setScrollWithParent, setStencilCircle, setStencilRect, setTable, setUIName, setVisible, setWantExtraMouseEvents, setWantKeyEvents, setWidth, setWidthOnly, setWidthSilent, setX, setXScroll, setY, setYScroll, StartOutline, suspendStencil
-
Constructor Details
-
UIWorldMap
public UIWorldMap(se.krka.kahlua.vm.KahluaTable table)
-
-
Method Details
-
getAPI
-
getAPIv1
-
getAPIv2
-
getAPIv3
-
getSymbolsDirect
-
checkSymbolsLayout
public void checkSymbolsLayout() -
getSymbolsLayoutData
-
getWorldMap
-
isMapEditor
public boolean isMapEditor() -
setMapEditor
public void setMapEditor(boolean b) -
scaleWidthToHeight
public void scaleWidthToHeight() -
render
public void render()- Specified by:
renderin interfaceUIElementInterface- Overrides:
renderin classUIElement
-
update
public void update()- Specified by:
updatein interfaceUIElementInterface- Overrides:
updatein classUIElement
-
onMouseDown
- Overrides:
onMouseDownin classUIElement
-
onMouseUp
-
onMouseUpOutside
public void onMouseUpOutside(double x, double y) - Overrides:
onMouseUpOutsidein classUIElement
-
onMouseMove
- Overrides:
onMouseMovein classUIElement
-
onMouseWheel
- Overrides:
onMouseWheelin classUIElement
-
setExposed
-
DrawSymbol
public void DrawSymbol(Texture tex, double pointOfRotationX, double pointOfRotationY, double width, double height, double degrees, double scale, boolean bMatchPerspective, boolean bApplyZoom, double r, double g, double b, double a) -
DrawTextSdf
-
DrawTextSdfRotated
-
setDoStencil
public void setDoStencil(boolean value)
-