forked from NHLStenden-ISAL/VAPE-3D
-
Notifications
You must be signed in to change notification settings - Fork 0
UISingleton
MarcoDeGeweldige edited this page Mar 25, 2025
·
1 revision
export class UISingleton
singleton used for essential operations, mainly for 2d GUI,
the following variables are 2d panels
private expressiondis: ExpresionDisplay;
2d panel showing the expression in text format
private paneldis: Dirpanels2d;
2d panel containing options to place an subexpression at the selected direction
private oper: OperatorButtons;
2d panel used to select an operator action, only usable on operator cubes
private confirmPanel : ConfirmPanel;
2d panel responsible for validating the created expression, use alt to open the panel
private rootOperatorCube?: OperatorCube;
the root of the expression, undefined because the rootcube gets created later on
public resulte: string = "empty";
variable to contain the expression text