7yl4r / the-oregon-trajectory

:rocket: The Oregon Trail -- in SPAAACE!
http://7yl4r.github.io/the-oregon-trajectory/
GNU Affero General Public License v3.0
17 stars 6 forks source link

separate tile & sprite classes out of travelScreen.coffee #49

Closed 7yl4r closed 9 years ago

7yl4r commented 9 years ago

I tried this before but I had trouble with it... I realized a minute ago that I think that's because my commonjs usage was bad.

module.exports = class Tile
...

# and then in travelScreen do
Tile = require(Tile.coffee)