asciiflow2/js-lib/launch.js

21 lines
381 B
JavaScript
Raw Normal View History

2014-01-05 00:24:48 +00:00
/**
* Application main entry point.
2014-01-05 00:24:48 +00:00
*/
2014-01-09 20:18:46 +00:00
goog.provide('ascii.launch');
2014-01-09 20:18:46 +00:00
goog.require('ascii.Controller');
goog.require('ascii.State');
goog.require('ascii.View');
2014-01-05 00:24:48 +00:00
2014-01-09 20:18:46 +00:00
/**
* @private
*/
ascii.launch = function() {
var state = new ascii.State();
var view = new ascii.View(state);
var controller = new ascii.Controller(view, state);
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();