Game.mount - Pixelize
game.update(document.body); // Mounts game to the body
Game.mount
mounts a Game
to an element in the DOM. This should be done after the update
and draw
methods are set.
Paramaters:
element
: AnHTMLElement
to mount the game in.