@@ -66,18 +66,18 @@ var debugTax = 6;
6666var debugFrameRate : number ;
6767var debugTimer : number ;
6868
69- mainMenu . container . w = new JSWindow ( 700 , 500 ) ;
70- mainMenu . container . w . container . closeButton = new TextButton ( 680 , 20 , "X" , "center" , 20 , 5 ) ;
71- mainMenu . container . w . container . closeButton . updateLanguage = function ( ) { this . text = "X" } ;
72- mainMenu . container . w . container . closeButton . onclick = ( ) => {
73- mainMenu . container . w . hide ( ) ;
74- }
75- mainMenu . container . w . container . welcomemsg = new Label ( 350 , 250 , "Welcome! 😀" , "center" ) ;
76- mainMenu . container . w . container . welcomemsg . updateLanguage = function ( ) { this . text = "Welcome! 😀" } ;
77- mainMenu . container . w . visible = true ;
78- mainMenu . container . w . show ( ) ;
69+ // mainMenu.container.w = new JSWindow(700, 500);
70+ // mainMenu.container.w.container.closeButton = new TextButton(680, 20, "X", "center", 20, 5);
71+ // mainMenu.container.w.container.closeButton.updateLanguage = function(){this.text="X"};
72+ // mainMenu.container.w.container.closeButton.onclick = () => {
73+ // mainMenu.container.w.hide();
74+ // }
75+ // mainMenu.container.w.container.welcomemsg = new Label(350, 250, "Welcome! 😀", "center");
76+ // mainMenu.container.w.container.welcomemsg.updateLanguage = function(){this.text="Welcome! 😀"};
77+ // mainMenu.container.w.visible = true;
78+ // mainMenu.container.w.show();
7979
80- ( window as any ) . globals . mainMenu = mainMenu ;
80+ // (window as any).globals.mainMenu = mainMenu;
8181
8282//var gameState = "mainMenu"; /* 'mainMenu' 'game' 'options' */
8383/*------------------------------------LOOP-----------------------------------------*/
0 commit comments