init.js 377 B

12345678910111213
  1. document.addEventListener("DOMContentLoaded", (event) => {
  2. window.cacheBust = true;
  3. require('Game');
  4. require('System');
  5. });
  6. var debugging = {};
  7. document.addEventListener("JSContentLoaded", (event) => {
  8. let system = new System();
  9. let game = new Game();
  10. system.create("game", game, "#000000");
  11. debugging.system = system;
  12. debugging.game = game;
  13. });