auto-accept/www/js/main.js

9 lines
296 B
JavaScript
Raw Normal View History

2020-12-17 17:27:44 +00:00
import { Game } from "./game.js";
2020-12-17 11:09:22 +00:00
let svgEl = document.getElementById('canvas');
let crosshairXEl = document.getElementById('crosshair_x');
let crosshairYEl = document.getElementById('crosshair_y');
2020-12-17 17:27:44 +00:00
var game = new Game(svgEl, crosshairXEl, crosshairYEl);
2020-12-17 12:22:58 +00:00
console.log('Initialised game', game);