LeedsJs/jackdaw — pull request #13 by sfoster (2012-01-18 12:17:22+00:00)
Title: work on game level "management" 

Continuing merging Abe's work with some work-in-progress I had on game state and moving through levels.
There's a setter for the "level" property of the game. So you call game.set("level", "levelid") and it does basically what the setLevelByName function does.

The core engine just emits a bunch of events. Our game listens for those events and calls the corresponding methods on the current level.