summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/webhogg/loader.js
blob: cc66ff67db10f03b0eeb6dc32276861e994ddc96 (plain)
1
2
3
4
5
6
7
8
9
import {default as init_r} from './webhogg.js'
import {init_x} from './webhogg.js'

let module = init_r('./pkg/webhogg_bg.wasm');

let graphics = new Worker('./graphics.js')

init_x(module, 'game logic', graphics);