first level :DDDDDD

This commit is contained in:
Peter Cottle 2013-01-03 14:37:02 -08:00
parent d400158781
commit 984f139245
6 changed files with 5023 additions and 4758 deletions

View file

@ -25,11 +25,12 @@ var init = function() {
* - handling window.focus and zoom events
**/
var Sandbox = require('../level/sandbox').Sandbox;
var Level = require('../level').Level;
var EventBaton = require('../util/eventBaton').EventBaton;
eventBaton = new EventBaton();
commandUI = new CommandUI();
sandbox = new Sandbox();
sandbox = new Level();
// we always want to focus the text area to collect input
var focusTextArea = function() {