2014-01-05 00:24:48 +00:00
|
|
|
/**
|
2014-01-07 22:49:54 +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-07 22:49:54 +00:00
|
|
|
|
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);
|
2014-01-11 16:40:01 +00:00
|
|
|
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();
|