HudPlace beta
TypeAlias of @v12-engine/client
ts
export type HudPlace = 'top-bar-left' | 'top-bar-center' | 'top-bar-right' | 'tray' | 'side' | 'bottom-bar-center' | 'bottom-bar-right' | 'top' | 'top-left' | 'top-right' | 'left' | 'right' | 'center' | 'bottom' | 'bottom-left' | 'bottom-right' | 'over-map' | 'backdrop' | 'overlay';Where a part of the HUD goes (HudWidgetDef.place). The HUD is laid out by places, each a row or a column its parts stand in by their order, put by the HUD's places (HudPlaces) where it stands by the bars:
top-bar-left,top-bar-center,top-bar-right: in the bar along the top (the menu, the clock, the resources) -tray: the row of buttons under the bar's right end, the first at the right -side: down the left under the bar (the heroes, the idle workers) -bottom-bar-center,bottom-bar-right: on the band along the bottom (what is selected, the card) -top,top-left,top-right,left,right,center,bottom,bottom-left,bottom-right: over the map, clear of the HUD's own, a column at each -over-map: anywhere over the map: the part puts itself (style), as the minimap and the messages do -backdrop: under the HUD, over the view (the screen's fade) -overlay: over all of it, there while the HUD is hidden too (the dialog, the menu, the score)