9 lines
No EOL
296 B
JavaScript
9 lines
No EOL
296 B
JavaScript
import { Game } from "./game.js";
|
|
|
|
let svgEl = document.getElementById('canvas');
|
|
let crosshairXEl = document.getElementById('crosshair_x');
|
|
let crosshairYEl = document.getElementById('crosshair_y');
|
|
|
|
|
|
var game = new Game(svgEl, crosshairXEl, crosshairYEl);
|
|
console.log('Initialised game', game); |