asciiflow2/js-lib/launch.js

15 lines
430 B
JavaScript
Raw Normal View History

2014-01-09 20:18:46 +00:00
/**
2014-01-12 10:37:38 +00:00
* Runs the application.
2014-01-09 20:18:46 +00:00
*/
ascii.launch = function() {
var state = new ascii.State();
var view = new ascii.View(state);
var controller = new ascii.Controller(view, state);
var touchController = new ascii.TouchController(controller);
var desktopController = new ascii.DesktopController(controller);
var driveController = new ascii.DriveController(state, view);
2014-01-08 22:24:16 +00:00
view.animate();
2014-01-05 00:24:48 +00:00
};
2014-01-09 20:18:46 +00:00
ascii.launch();