15 lines
430 B
JavaScript
15 lines
430 B
JavaScript
/**
|
|
* Runs the application.
|
|
*/
|
|
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);
|
|
view.animate();
|
|
};
|
|
|
|
ascii.launch();
|