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);
|
2014-01-11 16:40:01 +00:00
|
|
|
var controller = new ascii.Controller(view, state);
|
2014-02-23 18:42:20 +00:00
|
|
|
var touchController = new ascii.TouchController(controller);
|
|
|
|
var desktopController = new ascii.DesktopController(controller);
|
2014-03-23 19:16:21 +00:00
|
|
|
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();
|