marrus-sh / jelli

A game engine! Currently being developed.
MIT License
1 stars 0 forks source link

Modules should probably use game.document not document #32

Closed marrus-sh closed 8 years ago

marrus-sh commented 8 years ago

This would mean passing an element, document, or window in as an argument (and deriving the rest from there)

marrus-sh commented 8 years ago

This has been done for Control, Letters, and Screen, and no other modules use document directly (they just use the canvas).