convert classes to es6

(cherry picked from commit e7615d49a4071fe5b5f192884f142c9f3385211a)
This commit is contained in:
LabyStudio
2022-04-15 05:59:25 +02:00
parent dacd2496ea
commit 45961bbfbb
66 changed files with 319 additions and 210 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
window.GameWindow = class {
import GuiIngameMenu from "./gui/screens/GuiIngameMenu.js";
import Keyboard from "../util/Keyboard.js";
export default class GameWindow {
constructor(minecraft, canvasWrapperId) {
this.minecraft = minecraft;