Uses of Package
privbot.ui.overlay
Packages that use privbot.ui.overlay
Package
Description
The in-game overlay kit: HUD panels and scene drawing that work the same on every server.
-
Classes in privbot.ui.overlay used by privbot.ui.overlayClassDescriptionA value-to-colour rule, so a threshold ladder is written once and reused.Maps a plain value.Feeds the game canvas's mouse into an
OverlayMoveModewhile "Move overlay" is on."Move overlay": drag a flow's Builder panel to a new place, or drag its bottom-right corner to resize its width, in game.Receives a saved move: the corner anchor nearest the panel's centre and the offsets from it (OverlayPlacementrules), or FREE with the panel's top-left when the viewport is unknown.The resolved colours of one overlay: the scheme's, with a custom scheme's per-colour overrides.The overlays a plugin registered, as one handle:OverlaySet.setVisible(boolean)adds or removes them all,OverlaySet.close()removes them forshutDown().The colours a user chose for one overlay, asOverlayPalette.of(PaletteSettings)reads them: a built-inPaletteSettings.Scheme, and forPaletteSettings.Scheme.CUSTOMa colour perPaletteSettings.Slotthat replaces Classic's.The built-in colour schemes, the ones the Workflow Studio HUD offers.The colours of a palette, one perOverlayPalettefield.One key/value row for the chatbox layouts; build withrow(...).A themed HUD panel composed from a published state on every render.Describes a HUD panel;PrivBotOverlays.PanelBuilder.rows(java.util.function.Supplier<S>, java.util.function.BiConsumer<privbot.ui.overlay.Rows, S>)is the terminal step.Describes a scene overlay;PrivBotOverlays.SceneBuilder.draw(java.util.function.Supplier<S>, java.util.function.BiConsumer<privbot.ui.overlay.SceneCanvas, S>)is the terminal step.A scene overlay (tiles, outlines, labels, paths) drawn from a published state on every render.The rows of a HUD panel, composed fresh on every render.The scene-drawing primitives every tile overlay used to hand-roll, over oneSceneProjection.World → canvas, the same way on every server.State published on the game tick and read on the render thread.