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
|
|
|
*/
|
|
|
|
goog.provide('asciiflow.launch');
|
2014-01-07 22:49:54 +00:00
|
|
|
|
|
|
|
goog.require('asciiflow.Controller');
|
|
|
|
goog.require('asciiflow.State');
|
2014-01-05 00:24:48 +00:00
|
|
|
goog.require('asciiflow.View');
|
|
|
|
|
|
|
|
asciiflow.launch = function() {
|
2014-01-07 22:49:54 +00:00
|
|
|
var state = new asciiflow.State();
|
|
|
|
var view = new asciiflow.View(state);
|
|
|
|
var controller = new asciiflow.Controller(view);
|
2014-01-08 22:24:16 +00:00
|
|
|
view.animate();
|
2014-01-05 00:24:48 +00:00
|
|
|
};
|
|
|
|
|
2014-01-05 00:50:43 +00:00
|
|
|
asciiflow.launch();
|