1681-engine / ui / TooltipPlacement
Interface: TooltipPlacement ​
Defined in: src/ui/layout/placeTooltip.ts:17
1681 Engine's UI module (1681-engine/ui): canvas widgets drawn with Pixi on the stage's screen layer, a bridge for a UI written in the DOM or React over the canvas, and the pure layout maths both use. A game that draws no UI through the engine never ships it.
Extends ​
Properties ​
side ​
ts
side: TipSide;Defined in: src/ui/layout/placeTooltip.ts:19
The side it went on after flipping.
x ​
ts
x: number;Defined in: src/ui/layout/geometry.ts:11
Inherited from ​
y ​
ts
y: number;Defined in: src/ui/layout/geometry.ts:12