Skip to main content

Module ui

Module ui 

Source

Modules§

achievements
biscuit
border
debug_pane
effects
hands
prestige
sidebar
stats
toast
Achievement-unlock toast overlay.
tree
Full-screen upgrade-tree modal renderer.

Structs§

DrawOutput
Per-frame layout snapshot produced by draw. Single source of truth for every clickable region on screen + the play-area envelope.

Enums§

HelpAction
Click target for a help-bar hint or for the prestige-reset confirm line. Mirrors the keyboard shortcuts so the mouse-first player has equivalent reach to every action a key would fire.
Mode
TreeButtonAction
Which action a clickable button in the tree-modal info pane fires. Buy / Refund both target the cursor’s lot; the renderer publishes at most one of these per frame (whichever the focused node currently supports). Left-click on the rect emits the corresponding sim action, giving touch / left-click-only players parity with the right-click-on-node gesture.

Functions§

draw