improcket/js/game.mjs
2018-03-01 23:38:22 +00:00

16 lines
171 B
JavaScript

const game = {
state: {
room: 'menu',
paused: false
}
};
export function init() {
game.state.room = 'menu';
}
function tick() {
requestAnimationFrame(tick);
}